mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix UI tests for Xcode 26
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user