Skip to content

Commit

Permalink
Wait for reset waiting indicator to be removed before snapshotting th…
Browse files Browse the repository at this point in the history
…e encryption reset screen
  • Loading branch information
stefanceriu committed Nov 14, 2024
1 parent 837c400 commit 1171aef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UITests/Sources/EncryptionResetUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class EncryptionResetUITests: XCTestCase {
// Confirm the intent to reset.
app.buttons[A11yIdentifiers.encryptionResetScreen.continueReset].tap()
app.buttons[A11yIdentifiers.alertInfo.primaryButton].tap()

try await Task.sleep(for: .seconds(2.0))

try await app.assertScreenshot(.encryptionReset, step: Step.passwordScreen)

// Enter the password and submit.
Expand Down

0 comments on commit 1171aef

Please sign in to comment.