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

# flows/01-navigation-flows.yaml

[Source](https://github.com/leapgame/leap-sim-piano/blob/f794b594016038c483e2d20b6af56aea0ae1b982/.maestro/flows/01-navigation-flows.yaml)

```yaml
appId: ${APP_ID}
tags:
  - navigation
---
# 01 - Navigation Flows: verify tabs, stack transitions, and back stack

# 1. Launch & Bootstrap
- runFlow:
    file: "../subflows/bootstrap-app.yaml"

# 2. Verify Home / Song List Tab
- assertVisible:
    id: "tab-button-songs"
- assertVisible:
    id: "songs-search-input"

# 3. Switch to Profile Tab
- tapOn:
    id: "tab-button-profile"
- assertVisible:
    id: "profile-name-pill"

# 4. Switch to Mission Tab
- tapOn:
    id: "tab-button-mission"
# Mission is a placeholder screen in this build; it replaces the song list.
- extendedWaitUntil:
    notVisible:
      id: "songs-search-input"
    timeout: 10000

# 5. Open Free-play Keyboard Stack Screen
- tapOn:
    id: "tab-launcher-keyboard"
- assertVisible:
    id: "keyboard-screen-root"
- assertVisible:
    id: "keyboard-back-button"

# 6. Pop Back to Tabs
- tapOn:
    id: "keyboard-back-button"
- assertVisible:
    id: "tab-button-songs"
```
