mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Update Maestro tests
This commit is contained in:
@@ -8,6 +8,12 @@ appId: ${MAESTRO_APP_ID}
|
|||||||
- tapOn: "Add description…"
|
- tapOn: "Add description…"
|
||||||
- inputText: "aRoomTopic"
|
- inputText: "aRoomTopic"
|
||||||
- tapOn: "Create"
|
- tapOn: "Create"
|
||||||
|
|
||||||
|
# It can take ages to create room on matrix.org
|
||||||
|
- extendedWaitUntil:
|
||||||
|
timeout: 30000
|
||||||
|
visible: "Invite people"
|
||||||
|
|
||||||
- takeScreenshot: build/maestro/320-createAndDeleteRoom
|
- takeScreenshot: build/maestro/320-createAndDeleteRoom
|
||||||
- tapOn: "Search for someone"
|
- tapOn: "Search for someone"
|
||||||
- inputText: ${MAESTRO_INVITEE1_MXID}
|
- inputText: ${MAESTRO_INVITEE1_MXID}
|
||||||
|
|||||||
@@ -5,6 +5,33 @@ appId: ${MAESTRO_APP_ID}
|
|||||||
- assertVisible: "Settings"
|
- assertVisible: "Settings"
|
||||||
- takeScreenshot: build/maestro/600-Settings
|
- takeScreenshot: build/maestro/600-Settings
|
||||||
|
|
||||||
|
## Account settings
|
||||||
|
- tapOn:
|
||||||
|
id: "settings-user_profile"
|
||||||
|
- assertVisible: "Edit profile"
|
||||||
|
- takeScreenshot: build/maestro/610-AccountEditProfile
|
||||||
|
- back
|
||||||
|
|
||||||
|
- tapOn:
|
||||||
|
text: "Notifications"
|
||||||
|
- assertVisible: "Enable notifications on this device"
|
||||||
|
- back
|
||||||
|
|
||||||
|
- tapOn:
|
||||||
|
text: "Encryption"
|
||||||
|
- assertVisible: "Key storage"
|
||||||
|
- back
|
||||||
|
|
||||||
|
- tapOn:
|
||||||
|
text: "Moderation & safety"
|
||||||
|
- assertVisible: "Your appearance"
|
||||||
|
- back
|
||||||
|
|
||||||
|
- tapOn:
|
||||||
|
text: "Report a problem"
|
||||||
|
- assertVisible: "Report a problem"
|
||||||
|
- back
|
||||||
|
|
||||||
## App settings section
|
## App settings section
|
||||||
- assertVisible: "Appearance"
|
- assertVisible: "Appearance"
|
||||||
|
|
||||||
@@ -19,22 +46,38 @@ appId: ${MAESTRO_APP_ID}
|
|||||||
- hideKeyboard
|
- hideKeyboard
|
||||||
- back
|
- back
|
||||||
|
|
||||||
|
- scrollUntilVisible:
|
||||||
|
direction: DOWN
|
||||||
|
element:
|
||||||
|
text: "Location sharing"
|
||||||
- tapOn:
|
- tapOn:
|
||||||
text: "Location sharing"
|
text: "Location sharing"
|
||||||
- assertVisible: "Live location updates"
|
- assertVisible: "Live location updates"
|
||||||
- back
|
- back
|
||||||
|
|
||||||
## General section
|
## General section
|
||||||
|
- scrollUntilVisible:
|
||||||
|
direction: DOWN
|
||||||
|
element:
|
||||||
|
text: "Analytics"
|
||||||
- tapOn:
|
- tapOn:
|
||||||
text: "Analytics"
|
text: "Analytics"
|
||||||
- assertVisible: "Share analytics data"
|
- assertVisible: "Share analytics data"
|
||||||
- back
|
- back
|
||||||
|
|
||||||
|
- scrollUntilVisible:
|
||||||
|
direction: DOWN
|
||||||
|
element:
|
||||||
|
text: "Labs"
|
||||||
- tapOn:
|
- tapOn:
|
||||||
text: "Labs"
|
text: "Labs"
|
||||||
- assertVisible: "Feeling experimental?"
|
- assertVisible: "Feeling experimental?"
|
||||||
- back
|
- back
|
||||||
|
|
||||||
|
- scrollUntilVisible:
|
||||||
|
direction: DOWN
|
||||||
|
element:
|
||||||
|
text: "About"
|
||||||
- tapOn:
|
- tapOn:
|
||||||
text: "About"
|
text: "About"
|
||||||
- assertVisible: "Copyright"
|
- assertVisible: "Copyright"
|
||||||
@@ -42,33 +85,15 @@ appId: ${MAESTRO_APP_ID}
|
|||||||
- assertVisible: "Privacy policy"
|
- assertVisible: "Privacy policy"
|
||||||
- back
|
- back
|
||||||
|
|
||||||
|
- scrollUntilVisible:
|
||||||
|
direction: DOWN
|
||||||
|
element:
|
||||||
|
text: "Developer options"
|
||||||
- tapOn:
|
- tapOn:
|
||||||
text: "Developer options"
|
text: "Developer options"
|
||||||
- assertVisible: "Feature flags"
|
- assertVisible: "Feature flags"
|
||||||
- assertVisible: "View source"
|
- assertVisible: "View source"
|
||||||
- back
|
- back
|
||||||
|
|
||||||
## Account settings
|
|
||||||
- tapOn:
|
|
||||||
id: "settings-user_profile"
|
|
||||||
- assertVisible: "Your account"
|
|
||||||
- takeScreenshot: build/maestro/610-AccountSettings
|
|
||||||
|
|
||||||
- tapOn:
|
|
||||||
text: "Notifications"
|
|
||||||
- assertVisible: "Enable notifications on this device"
|
|
||||||
- back
|
|
||||||
|
|
||||||
- tapOn:
|
|
||||||
text: "Moderation & safety"
|
|
||||||
- assertVisible: "Your appearance"
|
|
||||||
- back
|
|
||||||
|
|
||||||
- tapOn:
|
|
||||||
text: "Report a problem"
|
|
||||||
- assertVisible: "Report a problem"
|
|
||||||
- back
|
|
||||||
|
|
||||||
- back
|
|
||||||
- back
|
- back
|
||||||
- runFlow: ../assertions/assertHomeDisplayed.yaml
|
- runFlow: ../assertions/assertHomeDisplayed.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user