Add tests

This commit is contained in:
Alfonso Grillo
2022-11-16 11:18:03 +01:00
parent 62ba36739e
commit 128812eaea
3 changed files with 24 additions and 0 deletions
@@ -93,4 +93,9 @@ class UserSessionOverviewUITests: MockScreenTestCase {
let button = app.buttons[buttonId]
XCTAssertTrue(button.exists)
}
func test_whenPermanentlySessionSelected_copyIsCorrect() {
app.goToScreenWithIdentifier(MockUserSessionOverviewScreenState.otherSession(sessionState: .permanentlyUnverified).title)
XCTAssertTrue(app.buttons[VectorL10n.userOtherSessionPermanentlyUnverifiedAdditionalInfo].exists)
}
}