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:
Krille-chan 2026-03-06 09:27:37 +01:00 committed by GitHub
commit 9d229e04c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -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/

View file

@ -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"