mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Add UI tests
This commit is contained in:
@@ -61,4 +61,14 @@ class UserSessionOverviewUITests: MockScreenTestCase {
|
||||
XCTAssertTrue(app.staticTexts[VectorL10n.userSessionPushNotifications].exists)
|
||||
XCTAssertTrue(app.staticTexts[VectorL10n.userSessionPushNotificationsMessage].exists)
|
||||
}
|
||||
|
||||
func test_whenSessionSelected_kebabMenuShows() {
|
||||
app.goToScreenWithIdentifier(MockUserSessionOverviewScreenState.otherSession.title)
|
||||
let navTitle = VectorL10n.userSessionOverviewSessionTitle
|
||||
let barButton = app.navigationBars[navTitle].buttons["Menu"]
|
||||
XCTAssertTrue(barButton.exists)
|
||||
barButton.tap()
|
||||
XCTAssertTrue(app.buttons[VectorL10n.signOut].exists)
|
||||
XCTAssertTrue(app.buttons[VectorL10n.manageSessionRename].exists)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user