From dc7f45a77fec4ef1554185195ed6eca2590ed10b Mon Sep 17 00:00:00 2001 From: Mauro <34335419+Velin92@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:00:43 +0100 Subject: [PATCH] removed unused button check (#2498) --- ElementX/Sources/Other/AccessibilityIdentifiers.swift | 1 - IntegrationTests/Sources/Common.swift | 5 ----- IntegrationTests/Sources/UserFlowTests.swift | 3 --- 3 files changed, 9 deletions(-) diff --git a/ElementX/Sources/Other/AccessibilityIdentifiers.swift b/ElementX/Sources/Other/AccessibilityIdentifiers.swift index 1ebe27095..ef0a68514 100644 --- a/ElementX/Sources/Other/AccessibilityIdentifiers.swift +++ b/ElementX/Sources/Other/AccessibilityIdentifiers.swift @@ -94,7 +94,6 @@ enum A11yIdentifiers { struct HomeScreen { let userAvatar = "home_screen-user_avatar" - let settings = "home_screen-settings" let verificationBannerContinue = "home_screen-verification_continue" let recoveryKeyConfirmationBannerContinue = "home_screen-recovery_key_confirmation_continue" let invites = "home_screen-invites" diff --git a/IntegrationTests/Sources/Common.swift b/IntegrationTests/Sources/Common.swift index 9c1bea4fc..ca006c4fd 100644 --- a/IntegrationTests/Sources/Common.swift +++ b/IntegrationTests/Sources/Common.swift @@ -124,11 +124,6 @@ extension XCUIApplication { // `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924 profileButton.forceTap() - // Open the settings - let settingsButton = buttons[A11yIdentifiers.homeScreen.settings] - XCTAssertTrue(settingsButton.waitForExistence(timeout: 10.0)) - settingsButton.tap() - // Logout let logoutButton = buttons[A11yIdentifiers.settingsScreen.logout] XCTAssertTrue(logoutButton.waitForExistence(timeout: 10.0)) diff --git a/IntegrationTests/Sources/UserFlowTests.swift b/IntegrationTests/Sources/UserFlowTests.swift index 8306806b5..30a4cc2a6 100644 --- a/IntegrationTests/Sources/UserFlowTests.swift +++ b/IntegrationTests/Sources/UserFlowTests.swift @@ -175,9 +175,6 @@ class UserFlowTests: XCTestCase { // `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924 profileButton.forceTap() - // Open the settings - tapOnButton(A11yIdentifiers.homeScreen.settings) - // Open analytics tapOnButton(A11yIdentifiers.settingsScreen.analytics)