Next · Unreleased

Working-tree content. Subject to change and not yet released. Commit: e3d4530507.

shop

shop/aggressive/01-shop-entry.yaml

Source at this commit

appId: ${APP_ID}
tags:
  - shop
  - aggressive
---
# aggressive: the Shop tab and the promo row show, the promo at row 3 (`shop.enabled`, `shop.noads_banner.position`).
# The expectations below are checked against the arm's real config by
# src/data/__tests__/e2e-monetization-flows.test.ts.
- runFlow:
    file: "../../subflows/shop-entry.yaml"
    env:
      EXPECT_SHOP: "1"
      PROMO_ROW: "3"

shop/aggressive/02-shop-screen.yaml

Source at this commit

appId: ${APP_ID}
tags:
  - shop
  - aggressive
---
# aggressive: the Shop's trial text is hidden (`shop.trialText`) and its packs are the t1 tier's (`noads.tier`).
# The expectations below are checked against the arm's real config by
# src/data/__tests__/e2e-monetization-flows.test.ts.
- runFlow:
    file: "../../subflows/shop-screen.yaml"
    env:
      EXPECT_TRIAL_TEXT: "0"
      DAY_ID: "com.piano.noads.1day"
      DAY_PRICE: ".*1\\.99.*"
      LIFETIME_ID: "com.piano.noads.lifetime"
      LIFETIME_PRICE: ".*9\\.99.*"

shop/balance/01-shop-entry.yaml

Source at this commit

appId: ${APP_ID}
tags:
  - shop
  - balance
---
# balance: no Shop tab and no promo row (`shop.enabled` off).
# The expectations below are checked against the arm's real config by
# src/data/__tests__/e2e-monetization-flows.test.ts.
- runFlow:
    file: "../../subflows/shop-entry.yaml"
    env:
      EXPECT_SHOP: "0"
      PROMO_ROW: "0"

shop/friendly/01-shop-entry.yaml

Source at this commit

appId: ${APP_ID}
tags:
  - shop
  - friendly
---
# friendly: no Shop tab and no promo row (`shop.enabled` off).
# The expectations below are checked against the arm's real config by
# src/data/__tests__/e2e-monetization-flows.test.ts.
- runFlow:
    file: "../../subflows/shop-entry.yaml"
    env:
      EXPECT_SHOP: "0"
      PROMO_ROW: "0"

shop/very_aggressive/01-shop-entry.yaml

Source at this commit

appId: ${APP_ID}
tags:
  - shop
  - very_aggressive
---
# very_aggressive: the Shop tab and the promo row show, the promo at row 3 (`shop.enabled`, `shop.noads_banner.position`).
# The expectations below are checked against the arm's real config by
# src/data/__tests__/e2e-monetization-flows.test.ts.
- runFlow:
    file: "../../subflows/shop-entry.yaml"
    env:
      EXPECT_SHOP: "1"
      PROMO_ROW: "3"

shop/very_aggressive/02-shop-screen.yaml

Source at this commit

appId: ${APP_ID}
tags:
  - shop
  - very_aggressive
---
# very_aggressive: the Shop's trial text is hidden (`shop.trialText`) and its packs are the t2 tier's (`noads.tier`).
# The expectations below are checked against the arm's real config by
# src/data/__tests__/e2e-monetization-flows.test.ts.
- runFlow:
    file: "../../subflows/shop-screen.yaml"
    env:
      EXPECT_TRIAL_TEXT: "0"
      DAY_ID: "com.piano.noads.1day.high"
      DAY_PRICE: ".*2\\.99.*"
      LIFETIME_ID: "com.piano.noadspack"
      LIFETIME_PRICE: ".*14\\.99.*"