mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
removed unused button check (#2498)
This commit is contained in:
parent
ff35688088
commit
dc7f45a77f
@ -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"
|
||||
|
@ -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))
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user