Update Maestro tests

This commit is contained in:
Benoit Marty
2026-09-24 17:12:17 +02:00
parent 478138730c
commit c3f5a1884f
2 changed files with 53 additions and 22 deletions
@@ -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}
+47 -22
View File
@@ -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