removed unused button check (#2498)

This commit is contained in:
Mauro 2024-02-26 14:00:43 +01:00 committed by GitHub
parent ff35688088
commit dc7f45a77f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 9 deletions

View File

@ -94,7 +94,6 @@ enum A11yIdentifiers {
struct HomeScreen { struct HomeScreen {
let userAvatar = "home_screen-user_avatar" let userAvatar = "home_screen-user_avatar"
let settings = "home_screen-settings"
let verificationBannerContinue = "home_screen-verification_continue" let verificationBannerContinue = "home_screen-verification_continue"
let recoveryKeyConfirmationBannerContinue = "home_screen-recovery_key_confirmation_continue" let recoveryKeyConfirmationBannerContinue = "home_screen-recovery_key_confirmation_continue"
let invites = "home_screen-invites" let invites = "home_screen-invites"

View File

@ -124,11 +124,6 @@ extension XCUIApplication {
// `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924 // `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924
profileButton.forceTap() profileButton.forceTap()
// Open the settings
let settingsButton = buttons[A11yIdentifiers.homeScreen.settings]
XCTAssertTrue(settingsButton.waitForExistence(timeout: 10.0))
settingsButton.tap()
// Logout // Logout
let logoutButton = buttons[A11yIdentifiers.settingsScreen.logout] let logoutButton = buttons[A11yIdentifiers.settingsScreen.logout]
XCTAssertTrue(logoutButton.waitForExistence(timeout: 10.0)) XCTAssertTrue(logoutButton.waitForExistence(timeout: 10.0))

View File

@ -175,9 +175,6 @@ class UserFlowTests: XCTestCase {
// `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924 // `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924
profileButton.forceTap() profileButton.forceTap()
// Open the settings
tapOnButton(A11yIdentifiers.homeScreen.settings)
// Open analytics // Open analytics
tapOnButton(A11yIdentifiers.settingsScreen.analytics) tapOnButton(A11yIdentifiers.settingsScreen.analytics)