Maestro: fix MAS and EC breaking the tests (#4762)
This commit is contained in:
parent
b016f2e0ac
commit
c2e28f5fbc
3 changed files with 17 additions and 1 deletions
2
.github/workflows/maestro-local.yml
vendored
2
.github/workflows/maestro-local.yml
vendored
|
|
@ -11,7 +11,7 @@ env:
|
|||
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
|
||||
ARCH: x86_64
|
||||
DEVICE: pixel_7_pro
|
||||
API_LEVEL: 35
|
||||
API_LEVEL: 33
|
||||
TARGET: google_apis
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue