# Onboarding-Slides via Debug-Toggle (Root-Route, nicht gated). KEIN clearState.
# Account-Step wird am Ende auf 'done' restauriert.
appId: org.rebreak.app
---
# ── 01a — WELCOME ──
- launchApp
- waitForAnimationToEnd:
    timeout: 5000
- tapOn:
    text: "Nicht erlauben"
    optional: true
- openLink:
    link: "rebreak://debug"
- tapOn:
    text: "Öffnen"
    optional: true
- waitForAnimationToEnd:
    timeout: 2500
- scrollUntilVisible:
    element:
      text: "Onboarding-Step"
    direction: DOWN
    timeout: 8000
    centerElement: true
    optional: true
- tapOn:
    text: "Welcome"
    optional: true
- waitForAnimationToEnd:
    timeout: 4000
- takeScreenshot: screenshots/01a-welcome

# ── 01b — PROTECTION ──
- openLink:
    link: "rebreak://debug"
- tapOn:
    text: "Öffnen"
    optional: true
- waitForAnimationToEnd:
    timeout: 2500
- scrollUntilVisible:
    element:
      text: "Onboarding-Step"
    direction: DOWN
    timeout: 8000
    centerElement: true
    optional: true
- tapOn:
    text: "Pre_Protection"
    optional: true
- waitForAnimationToEnd:
    timeout: 4000
- takeScreenshot: screenshots/01b-protection

# ── restore done + 01c — DONE SLIDE ──
- openLink:
    link: "rebreak://debug"
- tapOn:
    text: "Öffnen"
    optional: true
- waitForAnimationToEnd:
    timeout: 2500
- scrollUntilVisible:
    element:
      text: "Onboarding-Step"
    direction: DOWN
    timeout: 8000
    centerElement: true
    optional: true
- tapOn:
    text: "Done"
    optional: true
- waitForAnimationToEnd:
    timeout: 3000
- openLink:
    link: "rebreak://onboarding"
- tapOn:
    text: "Öffnen"
    optional: true
- waitForAnimationToEnd:
    timeout: 3500
- takeScreenshot: screenshots/01c-done
