For AI agents: the complete documentation index is available at ../../../llms.txt, the full documentation bundle is available at ../../../llms-full.txt, and this page is available as Markdown at ../../../quality/scripts/subflows/launch-app-seeded.md.

subflows/launch-app-seeded.yaml

Source

appId: ${APP_ID}
---
# Like launch-app-clean.yaml (a clean install that starts past the first run), plus a seeded lifetime
# song-end count, so the interstitial gate (`fs.firstAfterSongEnd`, 2 or 3 by arm) is already open:
#   ${SONG_ENDS}  finished songs to start with (src/bootstrap/e2e-song-ends.ts), e.g. "5"
- runFlow:
    when:
      true: ${typeof E2E_MODE !== 'undefined' && E2E_MODE == 'debug'}
    commands:
      - stopApp
      - launchApp:
          clearState: true
          stopApp: true
          arguments:
            e2eSkipFtue: "1"
            e2eSongEnds: ${SONG_ENDS}
      - runFlow: connect-dev-client.yaml
- runFlow:
    when:
      true: ${typeof E2E_MODE === 'undefined' || E2E_MODE != 'debug'}
    commands:
      - launchApp:
          clearState: true
          arguments:
            e2eSkipFtue: "1"
            e2eSongEnds: ${SONG_ENDS}
- setOrientation: LANDSCAPE_LEFT