Skip to content

Try a workaround for the unstable call state in Maestro #4942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/maestro-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ jobs:
arch: ${{ env.ARCH }}
profile: ${{ env.DEVICE }}
target: ${{ env.TARGET }}
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -no-boot-anim -camera-back none
disable-animations: true
disk-size: 3G
script: |
adb shell settings put system show_touches 1
.github/workflows/scripts/maestro/maestro-local-with-screen-recording.sh app-gplay-x86_64-debug.apk
- name: Upload test results
uses: actions/upload-artifact@v4
Expand Down
17 changes: 16 additions & 1 deletion .maestro/tests/roomList/timeline/call/call.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
appId: ${MAESTRO_APP_ID}
---
- tapOn: "Start a call"
- runFlow:
when:
visible: 'Start a call'
commands:
- tapOn: "Start a call"
- runFlow:
when:
visible: 'Join'
commands:
- tapOn: "Join"
- takeScreenshot: build/maestro/700-Call
- extendedWaitUntil:
visible: "maestroelement"
timeout: 10000
- takeScreenshot: build/maestro/710-Call
# Hangup
- tapOn: "End call"
# Repeat hang up in case it helps
- runFlow:
when:
visible: 'End call'
commands:
- tapOn: "End call"
- extendedWaitUntil:
visible: "MyRoom"
timeout: 10000
Loading