Fix settings UI test by making sure the analytics button is visible before attempting to tap it.

This commit is contained in:
Stefan Ceriu
2026-05-11 10:28:14 +03:00
parent a5d07cf1f3
commit ded86dd66e
@@ -285,6 +285,7 @@ class UserSessionScreenTests: XCTestCase {
profileButton.tap(.center)
// Open analytics
app.swipeUp() // Make sure the the analytics entry is visible
app.buttons[A11yIdentifiers.settingsScreen.analytics].tap()
// Go back to settings