Merge pull request #2665 from krille-chan/krille/retry-sign-in-tap-in-tests
chore: Retry sign in tap in tests
This commit is contained in:
commit
9d229e04c6
2 changed files with 7 additions and 3 deletions
1
.github/workflows/integrate.yaml
vendored
1
.github/workflows/integrate.yaml
vendored
|
|
@ -233,7 +233,6 @@ jobs:
|
|||
script: |
|
||||
flutter run --use-application-binary=$PWD/app-debug.apk > flutter_logs.txt 2>&1 &
|
||||
FLUTTER_PID=$!
|
||||
sleep 10
|
||||
maestro test integration_test/login.yaml --env HOMESERVER=10.0.2.2 --env USER1_NAME=${USER1_NAME} --env USER1_PW=${USER1_PW}
|
||||
kill $FLUTTER_PID 2>/dev/null || true
|
||||
cp flutter_logs.txt ~/.maestro/tests/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
appId: chat.fluffy.fluffychat
|
||||
---
|
||||
- assertVisible: "Sign in"
|
||||
- tapOn: "Sign in"
|
||||
- extendedWaitUntil: # Wait for app to be visible
|
||||
visible: "Sign in"
|
||||
timeout: 60000
|
||||
- retry:
|
||||
maxRetries: 10 # Emulator might need some time to be ready to
|
||||
commands:
|
||||
- tapOn: "Sign in"
|
||||
- tapOn: "Search or enter homeserver address"
|
||||
- inputText: "http://${HOMESERVER}"
|
||||
- pressKey: "back"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue