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:
@@ -37,7 +37,7 @@ class EncryptionSettingsUITests: XCTestCase {
|
||||
|
||||
// Confirm deletion of keys.
|
||||
app.buttons[A11yIdentifiers.secureBackupKeyBackupScreen.deleteKeyStorage].tap()
|
||||
app.buttons[A11yIdentifiers.alertInfo.primaryButton].tap()
|
||||
app.buttons[A11yIdentifiers.alertInfo.primaryButton].firstMatch.tap()
|
||||
try await app.assertScreenshot(step: Step.secureBackupScreenDisabled)
|
||||
|
||||
// Toggle key storage back on and set up recovery.
|
||||
@@ -52,7 +52,7 @@ class EncryptionSettingsUITests: XCTestCase {
|
||||
app.buttons[A11yIdentifiers.secureBackupRecoveryKeyScreen.generateRecoveryKey].tap()
|
||||
app.buttons[A11yIdentifiers.secureBackupRecoveryKeyScreen.copyRecoveryKey].tap()
|
||||
app.buttons[A11yIdentifiers.secureBackupRecoveryKeyScreen.done].tap()
|
||||
app.buttons[A11yIdentifiers.alertInfo.primaryButton].tap()
|
||||
app.buttons[A11yIdentifiers.alertInfo.primaryButton].firstMatch.tap()
|
||||
try await app.assertScreenshot(step: Step.secureBackupScreenSetUp)
|
||||
|
||||
// Change the recovery key.
|
||||
@@ -63,7 +63,7 @@ class EncryptionSettingsUITests: XCTestCase {
|
||||
app.buttons[A11yIdentifiers.secureBackupRecoveryKeyScreen.generateRecoveryKey].tap()
|
||||
app.buttons[A11yIdentifiers.secureBackupRecoveryKeyScreen.copyRecoveryKey].tap()
|
||||
app.buttons[A11yIdentifiers.secureBackupRecoveryKeyScreen.done].tap()
|
||||
app.buttons[A11yIdentifiers.alertInfo.primaryButton].tap()
|
||||
app.buttons[A11yIdentifiers.alertInfo.primaryButton].firstMatch.tap()
|
||||
try await app.assertScreenshot(step: Step.secureBackupScreenSetUp)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user