Fix Maestro tests again (#6167)
* Increase the timeout for asserting 'Be in your element' is visible * Disable the chrome onboarding flow. This simplifies the code a lot and helps avoid corner cases. * More delays with timeout! * Add more info to the summary, specially when the tests fail, so we can quickly check what failed. * Make sure Maestro tests can't run in parallel, but APK builds can
This commit is contained in:
parent
7d58464857
commit
6bdb9c7c52
6 changed files with 37 additions and 31 deletions
|
|
@ -8,27 +8,6 @@ appId: ${MAESTRO_APP_ID}
|
|||
- tapOn:
|
||||
id: "login-continue"
|
||||
## MAS page
|
||||
## Conditional workflow to pass the Chrome first launch welcome page.
|
||||
- retry:
|
||||
maxRetries: 3
|
||||
commands:
|
||||
- runFlow:
|
||||
when:
|
||||
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.
|
||||
- retry:
|
||||
maxRetries: 3
|
||||
commands:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
appId: ${MAESTRO_APP_ID}
|
||||
---
|
||||
- extendedWaitUntil:
|
||||
visible: "Enter recovery key"
|
||||
timeout: 30000
|
||||
- takeScreenshot: build/maestro/150-Verify
|
||||
- tapOn: "Enter recovery key"
|
||||
- tapOn:
|
||||
|
|
@ -7,7 +10,10 @@ appId: ${MAESTRO_APP_ID}
|
|||
- inputText: ${MAESTRO_RECOVERY_KEY}
|
||||
- hideKeyboard
|
||||
- tapOn: "Continue"
|
||||
- extendedWaitUntil:
|
||||
visible: "Device verified"
|
||||
timeout: 30000
|
||||
- retry:
|
||||
maxRetries: 3
|
||||
commands:
|
||||
- extendedWaitUntil:
|
||||
visible: "Device verified"
|
||||
timeout: 30000
|
||||
- tapOn: "Continue"
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ appId: ${MAESTRO_APP_ID}
|
|||
---
|
||||
- extendedWaitUntil:
|
||||
visible: "Be in your element"
|
||||
timeout: 10000
|
||||
timeout: 30000
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ appId: ${MAESTRO_APP_ID}
|
|||
---
|
||||
- extendedWaitUntil:
|
||||
visible: "Confirm your identity"
|
||||
timeout: 20000
|
||||
timeout: 60000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue