appId: ${APP_ID}
---
# From wherever the app went (a song's gameplay, its result, an offer over the list) back to the song
# list: pause and leave a running song, leave a result, close what opens on its own (dismiss-offers.yaml).
- repeat:
times: 20
while:
notVisible:
id: "songs-search-input"
commands:
- runFlow:
when:
visible:
id: "gameplay-header-pause"
commands:
- tapOn:
id: "gameplay-header-pause"
- runFlow:
when:
visible:
id: "session-action-songs"
commands:
- tapOn:
id: "session-action-songs"
- runFlow: dismiss-offers.yaml
- runFlow:
file: sleep.yaml
env:
MS: "3000"
- runFlow: to-song-list.yaml