mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Test empty state for UserOtherSessions
This commit is contained in:
+8
@@ -114,4 +114,12 @@ class UserOtherSessionsUITests: MockScreenTestCase {
|
||||
XCTAssertTrue(button.exists)
|
||||
XCTAssertFalse(buttonLearnMore.exists)
|
||||
}
|
||||
|
||||
func test_whenNoSessionAreShown_theLayoutIsCorrect() {
|
||||
app.goToScreenWithIdentifier(MockUserOtherSessionsScreenState.none.title)
|
||||
let button = app.buttons[VectorL10n.userOtherSessionClearFilter]
|
||||
let text = app.staticTexts["UserOtherSessions.noItemsText"]
|
||||
XCTAssertTrue(button.exists)
|
||||
XCTAssertTrue(text.exists)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user