mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
03f3e8b3e0
* Try fixing DM creation in Maestro * Also handle 'invite new people to this room' with first invite to aRoomName * Try adding a room list clean up sub-flow * No need to press back button after successful invites * Looks like 'hideKeyboard' works as 'back' and messes up with the navigation. Try using the workaround described in https://docs.maestro.dev/reference/commands-available/hidekeyboard#workarounds
22 lines
490 B
YAML
22 lines
490 B
YAML
appId: ${MAESTRO_APP_ID}
|
|
---
|
|
# Clean up the room list if it was left in a bad state by previous tests
|
|
- runFlow:
|
|
when:
|
|
visible: 'aRoomName'
|
|
commands:
|
|
- longPressOn: 'aRoomName'
|
|
- tapOn:
|
|
text: "Leave room"
|
|
index: 0
|
|
- tapOn: "Leave"
|
|
- runFlow:
|
|
when:
|
|
visible: ${MAESTRO_INVITEE1_MXID}
|
|
commands:
|
|
- longPressOn: ${MAESTRO_INVITEE1_MXID}
|
|
- tapOn:
|
|
text: "Leave room"
|
|
index: 0
|
|
- tapOn: "Leave"
|