Ensure the CI is marked as failed when Maestro test is failing (#4700)
* Ensure the CI is marked as failed when Maestro test is failing * Fix typo in String to disable bookmark in ChromeCustomTab * Fix Maestro test now that matrix.org is using MAS to authenticate. * Fix Maestro test - other issues due to recent changes. * Maestro: add test on Element Call * Run through Chrome on boarding step. * Try suggestion from https://github.com/mobile-dev-inc/Maestro/issues/1126#issuecomment-2842220361 * Revert "Try suggestion from https://github.com/mobile-dev-inc/Maestro/issues/1126#issuecomment-2842220361" This reverts commit d400644622c1a240deb61040f9095e3221e07f21. * Add comment on Maestro flow.
This commit is contained in:
parent
98cfddce3f
commit
318f72a78d
7 changed files with 36 additions and 13 deletions
|
|
@ -7,22 +7,24 @@ appId: ${MAESTRO_APP_ID}
|
|||
- runFlow: ../assertions/assertLoginDisplayed.yaml
|
||||
- tapOn:
|
||||
id: "login-continue"
|
||||
## MAS page
|
||||
## Conditional workflow to pass the Chrome first launch welcome page.
|
||||
- runFlow:
|
||||
when:
|
||||
visible: 'Use without an account'
|
||||
commands:
|
||||
- tapOn: "Use without an account"
|
||||
## Working when running Maestro locally, but not on the CI yet.
|
||||
- tapOn:
|
||||
id: "login-email_username"
|
||||
id: "form-1"
|
||||
- inputText: ${MAESTRO_USERNAME}
|
||||
- pressKey: Enter
|
||||
- tapOn:
|
||||
id: "login-password"
|
||||
- inputText: "wrong-password"
|
||||
- pressKey: Enter
|
||||
- tapOn: "Continue"
|
||||
- tapOn: "OK"
|
||||
- tapOn:
|
||||
id: "login-password"
|
||||
- eraseText: 20
|
||||
id: "form-3"
|
||||
- inputText: ${MAESTRO_PASSWORD}
|
||||
- pressKey: Enter
|
||||
- tapOn: "Continue"
|
||||
## Back to native world
|
||||
- runFlow: ../assertions/assertSessionVerificationDisplayed.yaml
|
||||
- runFlow: ./verifySession.yaml
|
||||
- runFlow: ../assertions/assertAnalyticsDisplayed.yaml
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@ appId: ${MAESTRO_APP_ID}
|
|||
- hideKeyboard
|
||||
- tapOn: "Continue"
|
||||
- extendedWaitUntil:
|
||||
visible: "Device verified"
|
||||
visible: "Verification complete"
|
||||
timeout: 30000
|
||||
- tapOn: "Continue"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue