diff --git a/.maestro/logged-out/audio-stems.yaml b/.maestro/logged-out/audio-stems.yaml index 8025af93f..060d11bff 100644 --- a/.maestro/logged-out/audio-stems.yaml +++ b/.maestro/logged-out/audio-stems.yaml @@ -23,15 +23,20 @@ appId: ${APP_ID} visible: text: ".*e2e test stream.*" timeout: 30000 - # tap on the video to show the player controls - - tapOn: - point: 50%,20% - - tapOn: - id: "player-menu" - - extendedWaitUntil: - visible: - text: "Audio" - timeout: 10000 + # tap on the video to show the player controls, then open the menu; + # on a slow emulator the controls can hide again before the menu tap + # lands, so retry the pair + - retry: + maxRetries: 3 + commands: + - tapOn: + point: 50%,20% + - tapOn: + id: "player-menu" + - extendedWaitUntil: + visible: + text: "Audio" + timeout: 10000 - assertVisible: id: "player-audio-stem-0" # substring matches: iOS merges a menu row's texts into one element