mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Try fixing DM creation in Maestro (#7204)
* 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
This commit is contained in:
committed by
GitHub
parent
264ec2416f
commit
03f3e8b3e0
@@ -0,0 +1,21 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user