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/user-opened-paywall.md.

subflows/user-opened-paywall.yaml

Source

appId: ${APP_ID}
---
# The paywall a player opens on purpose (landscape): Profile -> go premium.
#   ${EXPECT_TRIAL}  "1": the price line reads "3 days free, then ..."; anything else: it does not
# Starts from an onboarded install (the launch skips the first run), a free player.
- runFlow: bootstrap-app.yaml
- runFlow: open-profile-paywall.yaml
- runFlow:
    file: expect-paywall-trial.yaml
    env:
      TRIAL_PATTERN: ".*3 days free.*"
      EXPECT_TRIAL: ${EXPECT_TRIAL}
- tapOn:
    id: "paywall-close"
- extendedWaitUntil:
    visible:
      id: "profile-go-premium"
    timeout: 15000