按模块拆分 XCUITest 用例与 Support 基础设施,UI Test 运行时跳过推送与排队 WebSocket,并将 Podfile 最低版本对齐 iOS 16。 Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
729 B
Swift
22 lines
729 B
Swift
//
|
|
// QueueManagementUITests.swift
|
|
// suixinkanUITests
|
|
//
|
|
|
|
import XCTest
|
|
|
|
final class QueueManagementUITests: AuthenticatedUITestCase {
|
|
/// 测试排队管理首页与设置页。
|
|
func testQueueManagementAndSettings() {
|
|
DebugMenuNavigator.open(app: app)
|
|
DebugMenuNavigator.tapMenu(title: "排队管理", app: app)
|
|
NavigationAssertions.waitForNavigationTitle("排队管理", in: app)
|
|
|
|
let settingsEntry = app.application.staticTexts.matching(NSPredicate(format: "label CONTAINS '设置'")).firstMatch
|
|
if settingsEntry.waitForExistence(timeout: 6) {
|
|
settingsEntry.tap()
|
|
NavigationAssertions.waitForNavigationTitle("排队设置", in: app)
|
|
}
|
|
}
|
|
}
|