Try fixing Maestro tests (again) (#6149)
* Try fixing Maestro tests again: they fail when creating a room because the texts have changed * Try using a retry on the webview before the login so we skip Chrome's setup * Try handling edge case when leaving a room does not remove the screen
This commit is contained in:
parent
f4a61ec5a4
commit
9536afe3dc
3 changed files with 38 additions and 22 deletions
|
|
@ -9,6 +9,9 @@ appId: ${MAESTRO_APP_ID}
|
|||
id: "login-continue"
|
||||
## MAS page
|
||||
## Conditional workflow to pass the Chrome first launch welcome page.
|
||||
- retry:
|
||||
maxRetries: 3
|
||||
commands:
|
||||
- runFlow:
|
||||
when:
|
||||
visible: 'Use without an account'
|
||||
|
|
@ -26,6 +29,9 @@ appId: ${MAESTRO_APP_ID}
|
|||
commands:
|
||||
- tapOn: "No thanks"
|
||||
## Working when running Maestro locally, but not on the CI yet.
|
||||
- retry:
|
||||
maxRetries: 3
|
||||
commands:
|
||||
- extendedWaitUntil:
|
||||
visible:
|
||||
id: "form-1"
|
||||
|
|
|
|||
|
|
@ -13,3 +13,8 @@ appId: ${MAESTRO_APP_ID}
|
|||
- scroll
|
||||
- tapOn: "Leave room"
|
||||
- tapOn: "Leave"
|
||||
- runFlow:
|
||||
when:
|
||||
visible: 'You need an invite in order to join'
|
||||
commands:
|
||||
- tapOn: "Back"
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ appId: ${MAESTRO_APP_ID}
|
|||
# Purpose: Test the creation and deletion of a room
|
||||
- tapOn: "Create a new conversation or room"
|
||||
- tapOn: "New room"
|
||||
- tapOn: "e.g. your project name"
|
||||
- tapOn: "Add name…"
|
||||
- inputText: "aRoomName"
|
||||
- tapOn: "What is this room about?"
|
||||
- tapOn: "Add description…"
|
||||
- inputText: "aRoomTopic"
|
||||
- tapOn: "Create"
|
||||
- takeScreenshot: build/maestro/320-createAndDeleteRoom
|
||||
|
|
@ -37,3 +37,8 @@ appId: ${MAESTRO_APP_ID}
|
|||
- scroll
|
||||
- tapOn: "Leave room"
|
||||
- tapOn: "Leave"
|
||||
- runFlow:
|
||||
when:
|
||||
visible: 'You need an invite in order to join'
|
||||
commands:
|
||||
- tapOn: "Back"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue