Remove prefix from tests

This commit is contained in:
Johannes Marbach
2022-10-07 15:44:21 +02:00
parent ba7c84f451
commit 1ba1dc3991
@@ -28,7 +28,7 @@ class UserOtherSessionsUITests: MockScreenTestCase {
func test_whenOtherSessionsWithInactiveSessionFilterPresented_correctItemsDisplayed() {
app.goToScreenWithIdentifier(MockUserOtherSessionsScreenState.inactiveSessions.title)
XCTAssertTrue(app.buttons["RiotSwiftUI Mobile: iOS, Inactive for 90+ days"].exists)
XCTAssertTrue(app.buttons["iOS, Inactive for 90+ days"].exists)
}
func test_whenOtherSessionsWithUnverifiedSessionFilterPresented_correctHeaderDisplayed() {
@@ -41,6 +41,6 @@ class UserOtherSessionsUITests: MockScreenTestCase {
func test_whenOtherSessionsWithUnverifiedSessionFilterPresented_correctItemsDisplayed() {
app.goToScreenWithIdentifier(MockUserOtherSessionsScreenState.unverifiedSessions.title)
XCTAssertTrue(app.buttons["RiotSwiftUI Mobile: iOS, Unverified · Your current session"].exists)
XCTAssertTrue(app.buttons["iOS, Unverified · Your current session"].exists)
}
}