Quest 03 / 03 · Quick buildTier 01 · Daily

Bounty boards / Daily · Monday, November 30, 2026

Test a checkout demo with an order spending cap

  • Playwright
  • JavaScript
  • browser testing
  • Time1 to 2 hours
  • Stages4
  • BoardMonday, November 30, 2026

Quest 03 / 03 · Quick build

Test a checkout demo with an order spending cap

  • Playwright
  • JavaScript
  • browser testing

Why now TrueLayer says its UK food-ordering pilot lets customers authorize a Papa John's agent through a banking app and set a spending limit. Build a local demo that tests the cap as a rule, without connecting to a bank or submitting a payment.

Build it Create a mock order flow that reads product records from a small online-shop dataset and checks the order total against a user-entered cap. Use Playwright to test approval at the cap and rejection above it.

From the news

Tools

  • Playwright

    Playwright uses Apache-2.0 and can run locally without a product subscription. CI machines, hosted browsers and any AI service attached to its tools can have separate charges.

Data

  • 🛒 Online Shop 2024 Kaggle

    Use the shop's sample records to populate a mock cart for local checkout tests.

    Apache 2.0 · 3.4 MB · updated 2024-12-08

Steps

  1. Download the dataset and inspect its tables and columns before selecting product records for a mock cart.
  2. Build a local checkout page with a cart total, a user-entered spending cap, and a clear allow-or-block result.
  3. Keep the flow simulated: do not collect bank credentials or call a payment service.
  4. Write Playwright tests for an order at the cap, an order above the cap, and an empty cart.

Done when