mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +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
30 lines
680 B
YAML
30 lines
680 B
YAML
appId: ${MAESTRO_APP_ID}
|
|
---
|
|
# Purpose: Test the creation and deletion of a DM room.
|
|
- tapOn: "Create room"
|
|
- tapOn: "Search for someone"
|
|
- inputText: ${MAESTRO_INVITEE1_MXID}
|
|
- tapOn:
|
|
text: ${MAESTRO_INVITEE1_MXID}
|
|
index: 1
|
|
- runFlow:
|
|
when:
|
|
visible: 'Start a chat with this new contact?'
|
|
commands:
|
|
- tapOn: 'Continue'
|
|
- runFlow:
|
|
when:
|
|
visible: 'Send invite?'
|
|
commands:
|
|
- tapOn: 'Send invite'
|
|
- takeScreenshot: build/maestro/330-createAndDeleteDM
|
|
- tapOn: "maestroelement2"
|
|
- scroll
|
|
- tapOn: "Leave room"
|
|
- tapOn: "Leave"
|
|
- runFlow:
|
|
when:
|
|
visible: 'You need an invite in order to join'
|
|
commands:
|
|
- tapOn: "Back"
|