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

@@ -11,7 +11,7 @@ env:
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
ARCH: x86_64 ARCH: x86_64
DEVICE: pixel_7_pro DEVICE: pixel_7_pro
API_LEVEL: 35 API_LEVEL: 33
TARGET: google_apis TARGET: google_apis
jobs: jobs:

View File

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

View File

@@ -14,7 +14,22 @@ appId: ${MAESTRO_APP_ID}
visible: 'Use without an account' visible: 'Use without an account'
commands: commands:
- tapOn: "Use without an account" - 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. ## Working when running Maestro locally, but not on the CI yet.
- extendedWaitUntil:
visible:
id: "form-1"
timeout: 10000
- tapOn: - tapOn:
id: "form-1" id: "form-1"
- inputText: ${MAESTRO_USERNAME} - inputText: ${MAESTRO_USERNAME}