Show recover encryption keys message according to key backup requirement

This commit is contained in:
ismailgulek
2022-06-08 17:39:51 +03:00
parent 096164f10f
commit 8a5c9f3592
8 changed files with 52 additions and 13 deletions
@@ -40,6 +40,8 @@ class AuthenticationSoftLogoutUITests: MockScreenTest {
verifyNoSSO()
case .fallback:
verifyFallback()
case .noKeyBackup:
verifyNoKeyBackup()
}
}
@@ -195,4 +197,8 @@ class AuthenticationSoftLogoutUITests: MockScreenTest {
XCTAssertEqual(ssoButtons.count, 0, "There should be no SSO button shown.")
}
func verifyNoKeyBackup() {
XCTAssertFalse(app.staticTexts["messageLabel2"].exists, "The message 2 should not be shown.")
}
}