mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Fix settings UI test by making sure the analytics button is visible before attempting to tap it.
This commit is contained in:
@@ -285,6 +285,7 @@ class UserSessionScreenTests: XCTestCase {
|
|||||||
profileButton.tap(.center)
|
profileButton.tap(.center)
|
||||||
|
|
||||||
// Open analytics
|
// Open analytics
|
||||||
|
app.swipeUp() // Make sure the the analytics entry is visible
|
||||||
app.buttons[A11yIdentifiers.settingsScreen.analytics].tap()
|
app.buttons[A11yIdentifiers.settingsScreen.analytics].tap()
|
||||||
|
|
||||||
// Go back to settings
|
// Go back to settings
|
||||||
|
|||||||
Reference in New Issue
Block a user