mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Fix Maestro tests
This commit is contained in:
@@ -2,17 +2,25 @@ appId: ${MAESTRO_APP_ID}
|
|||||||
---
|
---
|
||||||
- tapOn:
|
- tapOn:
|
||||||
id: "home_screen-settings"
|
id: "home_screen-settings"
|
||||||
- tapOn:
|
|
||||||
id: "settings-user_profile"
|
|
||||||
- assertVisible: "Your account"
|
|
||||||
- tapOn: "Remove this device"
|
- tapOn: "Remove this device"
|
||||||
- takeScreenshot: build/maestro/900-SignOutScreen
|
- takeScreenshot: build/maestro/900-SignOutScreen
|
||||||
- back
|
- back
|
||||||
- tapOn: "Remove this device"
|
- tapOn: "Remove this device"
|
||||||
|
# Ensure pressing back cancels
|
||||||
|
- back
|
||||||
|
- tapOn: "Remove this device"
|
||||||
# Ensure cancel cancels
|
# Ensure cancel cancels
|
||||||
|
- tapOn: "Cancel"
|
||||||
|
- tapOn: "Remove this device"
|
||||||
|
- tapOn:
|
||||||
|
text: "Remove this device"
|
||||||
|
index: 1
|
||||||
|
# Cancel the dialog cancels the logout
|
||||||
- tapOn:
|
- tapOn:
|
||||||
id: "dialog-negative"
|
id: "dialog-negative"
|
||||||
- tapOn: "Remove this device"
|
- tapOn:
|
||||||
|
text: "Remove this device"
|
||||||
|
index: 1
|
||||||
- tapOn:
|
- tapOn:
|
||||||
id: "dialog-positive"
|
id: "dialog-positive"
|
||||||
- runFlow: ../assertions/assertInitDisplayed.yaml
|
- runFlow: ../assertions/assertInitDisplayed.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user