Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .maestro/helpers/create-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ tags:
- extendedWaitUntil:
visible:
id: rooms-list-view
timeout: 60000
timeout: 15000
2 changes: 1 addition & 1 deletion .maestro/helpers/launch-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tags:
permissions:
all: allow
- waitForAnimationToEnd:
timeout: 60000
timeout: 15000
- runFlow:
when:
visible: '.*Pixel Launcher.*'
Expand Down
2 changes: 1 addition & 1 deletion .maestro/helpers/login-with-deeplink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ tags:
- extendedWaitUntil:
visible:
id: 'rooms-list-view'
timeout: 60000
timeout: 15000
2 changes: 1 addition & 1 deletion .maestro/helpers/login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ onFlowStart:
- extendedWaitUntil:
visible:
id: rooms-list-view
timeout: 60000
timeout: 15000
6 changes: 3 additions & 3 deletions .maestro/helpers/logout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tags:
- extendedWaitUntil:
visible:
id: 'sidebar-settings'
timeout: 60000
timeout: 15000

- tapOn:
id: 'sidebar-settings'
Expand All @@ -46,7 +46,7 @@ tags:
- extendedWaitUntil:
visible:
text: '.*You will be logged out of this application.*'
timeout: 60000
timeout: 15000

- assertVisible:
text: Logout
Expand All @@ -59,7 +59,7 @@ tags:
- extendedWaitUntil:
visible:
id: 'android:id/button1'
timeout: 60000
timeout: 15000
- tapOn:
text: Logout
index: 0
Expand Down
4 changes: 2 additions & 2 deletions .maestro/helpers/navigate-to-login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ tags:
text: Connect
waitToSettleTimeoutMs: 1000
- extendedWaitUntil:
timeout: 60000
timeout: 15000
visible: Login
- tapOn: Login
- extendedWaitUntil:
visible:
id: 'login-view'
timeout: 60000
timeout: 15000
8 changes: 4 additions & 4 deletions .maestro/helpers/navigate-to-recent-room.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ tags:
- extendedWaitUntil:
visible:
id: 'rooms-list-view'
timeout: 60000
timeout: 15000
- tapOn:
id: 'rooms-list-view-search'
- extendedWaitUntil:
visible:
id: 'rooms-list-view-search-input'
timeout: 60000
timeout: 15000
- extendedWaitUntil:
visible:
id: 'rooms-list-view-item-${ROOM}'
timeout: 60000
timeout: 15000
- tapOn:
id: 'rooms-list-view-item-${ROOM}'
- extendedWaitUntil:
visible:
id: 'room-view-title-${ROOM}'
timeout: 60000
timeout: 15000
6 changes: 3 additions & 3 deletions .maestro/helpers/navigate-to-register.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ tags:
- inputText: ${server || output.data.server}
- extendedWaitUntil:
visible: 'Connect'
timeout: 60000
timeout: 15000
- assertVisible: 'Connect'
- tapOn: Connect
- extendedWaitUntil:
visible: 'Create an account'
timeout: 60000
timeout: 15000
- assertVisible: 'Create an account'
- tapOn: Create an account
- extendedWaitUntil:
visible:
id: 'register-view'
timeout: 60000
timeout: 15000
4 changes: 2 additions & 2 deletions .maestro/helpers/navigate-to-room-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
- extendedWaitUntil:
visible:
id: 'room-view'
timeout: 60000
timeout: 15000
- assertVisible:
id: 'room-header'
index: 0
Expand All @@ -27,4 +27,4 @@ tags:
- extendedWaitUntil:
visible:
id: 'room-actions-view'
timeout: 60000
timeout: 15000
2 changes: 1 addition & 1 deletion .maestro/helpers/navigate-to-room.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ tags:
- extendedWaitUntil:
visible:
id: 'room-view-title-${ROOM}'
timeout: 60000
timeout: 15000
6 changes: 3 additions & 3 deletions .maestro/helpers/navigate-to-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ tags:
---
- extendedWaitUntil:
visible: 'Add Workspace'
timeout: 60000
timeout: 15000
- tapOn:
text: 'Workspace URL. Required.'
- inputText: ${output.data.server}
- tapOn: 'Connect'
- waitForAnimationToEnd:
timeout: 60000
timeout: 15000
- assertVisible:
id: 'workspace-view'
- assertVisible: 'Login'
- tapOn: 'Login'
- extendedWaitUntil:
visible:
id: 'login-view'
timeout: 60000
timeout: 15000
4 changes: 2 additions & 2 deletions .maestro/helpers/send-message.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ tags:
- extendedWaitUntil:
visible:
id: message-composer-send
timeout: 60000
timeout: 15000
- tapOn:
id: message-composer-send
- extendedWaitUntil:
visible:
text: '.*${message}.*'
timeout: 60000
timeout: 15000
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tags:
- extendedWaitUntil:
visible:
text: 'Status saved successfully!'
timeout: 60000
timeout: 15000

# Show alerts as Dialogs
- tapOn: 'Accessibility & appearance'
Expand All @@ -45,6 +45,6 @@ tags:
- extendedWaitUntil:
visible:
text: 'Status saved successfully!'
timeout: 60000
timeout: 15000
- assertVisible: 'OK'
- tapOn: 'OK'
50 changes: 25 additions & 25 deletions .maestro/tests/assorted/accessibility-and-appearance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,62 +22,62 @@ tags:
- extendedWaitUntil:
visible:
id: 'accessibility-view-list'
timeout: 60000
timeout: 15000

# should have menu button
- extendedWaitUntil:
visible:
id: 'accessibility-view-drawer'
timeout: 60000
timeout: 15000

# should have theme button
- extendedWaitUntil:
visible:
id: 'accessibility-theme-button'
timeout: 60000
timeout: 15000

# should have display button
- extendedWaitUntil:
visible:
id: 'accessibility-display-button'
timeout: 60000
timeout: 15000

# should have rooms with hashtag symbol switch
- extendedWaitUntil:
visible:
id: 'accessibility-rooms-with-hashtag-symbol-switch'
timeout: 60000
timeout: 15000

# should have mentions with at symbol switch
- extendedWaitUntil:
visible:
id: 'accessibility-mentions-with-at-symbol-switch'
timeout: 60000
timeout: 15000

# should have autoplay gifs switch
- extendedWaitUntil:
visible:
id: 'accessibility-autoplay-gifs-switch'
timeout: 60000
timeout: 15000

# should enable mentions with @ symbol
- extendedWaitUntil:
visible:
id: 'accessibility-mentions-with-at-symbol-switch'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-mentions-with-at-symbol-switch'

- extendedWaitUntil:
visible:
id: 'accessibility-view-drawer'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-view-drawer'
- extendedWaitUntil:
visible:
id: 'sidebar-chats'
timeout: 60000
timeout: 15000
- tapOn:
id: 'sidebar-chats'
- runFlow:
Expand All @@ -88,11 +88,11 @@ tags:
- extendedWaitUntil:
visible:
text: '@all - all mention'
timeout: 60000
timeout: 15000
- extendedWaitUntil:
visible:
text: '@rocket.cat - user mention'
timeout: 60000
timeout: 15000

# should disable mentions with @ symbol
- tapOn:
Expand All @@ -103,20 +103,20 @@ tags:
- extendedWaitUntil:
visible:
id: 'accessibility-mentions-with-at-symbol-switch'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-mentions-with-at-symbol-switch'

- extendedWaitUntil:
visible:
id: 'accessibility-view-drawer'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-view-drawer'
- extendedWaitUntil:
visible:
id: 'sidebar-chats'
timeout: 60000
timeout: 15000
- tapOn:
id: 'sidebar-chats'
- runFlow:
Expand All @@ -127,11 +127,11 @@ tags:
- extendedWaitUntil:
visible:
text: 'all - all mention'
timeout: 60000
timeout: 15000
- extendedWaitUntil:
visible:
text: 'rocket.cat - user mention'
timeout: 60000
timeout: 15000

# should enable rooms with # symbol
- tapOn:
Expand All @@ -142,20 +142,20 @@ tags:
- extendedWaitUntil:
visible:
id: 'accessibility-rooms-with-hashtag-symbol-switch'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-rooms-with-hashtag-symbol-switch'

- extendedWaitUntil:
visible:
id: 'accessibility-view-drawer'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-view-drawer'
- extendedWaitUntil:
visible:
id: 'sidebar-chats'
timeout: 60000
timeout: 15000
- tapOn:
id: 'sidebar-chats'
- runFlow:
Expand All @@ -166,7 +166,7 @@ tags:
- extendedWaitUntil:
visible:
text: '#general - channel mention'
timeout: 60000
timeout: 15000

# should disable mentions with # symbol
- tapOn:
Expand All @@ -177,20 +177,20 @@ tags:
- extendedWaitUntil:
visible:
id: 'accessibility-rooms-with-hashtag-symbol-switch'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-rooms-with-hashtag-symbol-switch'

- extendedWaitUntil:
visible:
id: 'accessibility-view-drawer'
timeout: 60000
timeout: 15000
- tapOn:
id: 'accessibility-view-drawer'
- extendedWaitUntil:
visible:
id: 'sidebar-chats'
timeout: 60000
timeout: 15000
- tapOn:
id: 'sidebar-chats'
- runFlow:
Expand All @@ -200,4 +200,4 @@ tags:
- extendedWaitUntil:
visible:
text: 'general - channel mention'
timeout: 60000
timeout: 15000
Loading
Loading