> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# subflows/expect-no-ads.yaml

[Source](https://github.com/leapgame/leap-sim-piano/blob/f794b594016038c483e2d20b6af56aea0ae1b982/.maestro/subflows/expect-no-ads.yaml)

```yaml
appId: ${APP_ID}
---
# After a No Ads purchase: back on the song list, one more song — no interstitial on the song-row tap
# or at its end, no banner on its result, no promo row on the list.
- runFlow: dismiss-offers.yaml
- runFlow:
    when:
      visible:
        id: "session-action-songs"
    commands:
      - tapOn:
          id: "session-action-songs"
- runFlow: to-song-list.yaml
- assertNotVisible:
    id: "remove-ads-promo"
- tapOn:
    id: "song-row-play-e2e-play"
- runFlow:
    file: sleep.yaml
    env:
      MS: "6000"
- assertNotVisible:
    id: "e2e-ad-interstitial"
- runFlow: play-mock-notes.yaml
# No ad now, so the result itself comes (with ads a song-end interstitial would open first).
- extendedWaitUntil:
    visible:
      id: "session-result-score"
    timeout: 60000
- runFlow:
    file: sleep.yaml
    env:
      MS: "6000"
- assertNotVisible:
    id: "e2e-ad-interstitial"
- assertNotVisible:
    id: "e2e-banner"
```
