Fix UI tests for Xcode 26

This commit is contained in:
Stefan Ceriu
2025-09-22 15:33:47 +03:00
parent f31eda10dc
commit 0cf1058283
214 changed files with 636 additions and 12 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ class AppLockSetupUITests: XCTestCase {
try await app.assertScreenshot(step: Step.settings)
app.buttons[A11yIdentifiers.appLockSetupSettingsScreen.removePIN].tap()
app.alerts.element.buttons[A11yIdentifiers.alertInfo.primaryButton].tap()
app.alerts.element.buttons[A11yIdentifiers.alertInfo.primaryButton].firstMatch.tap()
// Pop the stack returning to whatever was last presented.
try await app.assertScreenshot(step: Step.clearedStack)
@@ -110,7 +110,7 @@ class AppLockSetupUITests: XCTestCase {
try await app.assertScreenshot(step: Step.settings)
app.buttons[A11yIdentifiers.appLockSetupSettingsScreen.removePIN].tap()
app.alerts.element.buttons[A11yIdentifiers.alertInfo.primaryButton].tap()
app.alerts.element.buttons[A11yIdentifiers.alertInfo.primaryButton].firstMatch.tap()
// Pop the stack returning to whatever was last presented.
try await app.assertScreenshot(step: Step.clearedStack)