diff --git a/.github/workflows/maestro-local.yml b/.github/workflows/maestro-local.yml index 3cb3d46111..cfb743934f 100644 --- a/.github/workflows/maestro-local.yml +++ b/.github/workflows/maestro-local.yml @@ -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: diff --git a/.maestro/allTests.yaml b/.maestro/allTests.yaml index 927a1cb0e5..ecbde4dab9 100644 --- a/.maestro/allTests.yaml +++ b/.maestro/allTests.yaml @@ -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 diff --git a/.maestro/tests/account/login.yaml b/.maestro/tests/account/login.yaml index 617df92e50..f3f584ef76 100644 --- a/.maestro/tests/account/login.yaml +++ b/.maestro/tests/account/login.yaml @@ -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}