Skip to content

Commit

Permalink
Cleanup UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alfogrillo committed Oct 28, 2022
1 parent 9b8f158 commit 7448ff8
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class UserOtherSessionsUITests: MockScreenTestCase {
XCTAssertTrue(app.staticTexts[VectorL10n.userOtherSessionFilterMenuInactive].exists)
let buttonLearnMore = app.buttons["\(VectorL10n.userSessionsOverviewSecurityRecommendationsInactiveInfo) \(VectorL10n.userSessionLearnMore)"]
XCTAssertTrue(buttonLearnMore.exists)
buttonLearnMore.tap()
XCTAssertTrue(app.staticTexts[VectorL10n.userSessionInactiveSessionTitle].exists)
}

func test_whenOtherSessionsWithInactiveSessionFilterPresented_correctItemsDisplayed() {
Expand All @@ -39,8 +37,6 @@ class UserOtherSessionsUITests: MockScreenTestCase {
XCTAssertTrue(app.staticTexts[VectorL10n.userOtherSessionFilterMenuUnverified].exists)
let buttonLearnMore = app.buttons["\(VectorL10n.userOtherSessionUnverifiedSessionsHeaderSubtitle) \(VectorL10n.userSessionLearnMore)"]
XCTAssertTrue(buttonLearnMore.exists)
buttonLearnMore.tap()
XCTAssertTrue(app.staticTexts[VectorL10n.userSessionUnverifiedSessionTitle].exists)
}

func test_whenOtherSessionsWithUnverifiedSessionFilterPresented_correctItemsDisplayed() {
Expand All @@ -61,8 +57,6 @@ class UserOtherSessionsUITests: MockScreenTestCase {
XCTAssertTrue(app.staticTexts[VectorL10n.userOtherSessionFilterMenuVerified].exists)
let buttonLearnMore = app.buttons["\(VectorL10n.userOtherSessionVerifiedSessionsHeaderSubtitle) \(VectorL10n.userSessionLearnMore)"]
XCTAssertTrue(buttonLearnMore.exists)
buttonLearnMore.tap()
XCTAssertTrue(app.staticTexts[VectorL10n.userSessionVerifiedSessionTitle].exists)
}

func test_whenOtherSessionsMoreMenuButtonSelected_selectSessionsButtonExists() {
Expand Down

0 comments on commit 7448ff8

Please sign in to comment.