appId: ${APP_ID}
tags:
- gameplay
- scoring
---
# 03 - Gameplay: a real run of the mock song (3 single notes + 1 hold), scored.
# A clean run is 4 x Perfect+ (12 each) plus the hold bonus: 58 points, 3 stars.
- runFlow:
file: "../subflows/bootstrap-app.yaml"
- runFlow:
file: "../subflows/play-mock-song.yaml"
env:
SONG_ID: "e2e-play"
FIRST_NOTE_DELAY_MS: "3000"
# Result: the song, its score, three stars.
- assertVisible: "E2E Play Song"
- assertVisible:
id: "star-rating-3"
# The score counts up; its final value is the whole clean-run total.
- extendedWaitUntil:
visible: "Score 58"
timeout: 20000
# Back to the list.
- tapOn:
id: "session-action-songs"
- extendedWaitUntil:
visible:
id: "songs-search-input"
timeout: 30000