Maestro: fix MAS and EC breaking the tests (#4762)

This commit is contained in:
Jorge Martin Espinosa
2025-05-22 22:31:51 +02:00
committed by GitHub
parent 9097c3f622
commit 7b7f2d9cb3
3 changed files with 17 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
appId: ${MAESTRO_APP_ID}
androidWebViewHierarchy: devtools
---
## Check that all env variables required in the whole test suite are declared (to fail faster)
- runScript: ./scripts/checkEnv.js

View File

@@ -14,7 +14,22 @@ appId: ${MAESTRO_APP_ID}
visible: 'Use without an account'
commands:
- tapOn: "Use without an account"
## For older chrome versions
- runFlow:
when:
visible: 'Accept & continue'
commands:
- tapOn: "Accept & continue"
- runFlow:
when:
visible: 'No thanks'
commands:
- tapOn: "No thanks"
## Working when running Maestro locally, but not on the CI yet.
- extendedWaitUntil:
visible:
id: "form-1"
timeout: 10000
- tapOn:
id: "form-1"
- inputText: ${MAESTRO_USERNAME}