🧪 Test Hub
testing: Demo target v3.0.0 · built-in demo site

DEMO-002 Form round-trip

Edit Load test Duplicate

Fill the demo form, submit it, and verify the echoed values.

demoformssmoke version: 1.0 DEMO-002__form_roundtrip.py group: Smoke

Runs
5
Pass rate
100%
5 passed / 0 failed
Avg duration
1s
p95 1s
Estimate
1s
avg of last 10 judged runs
Flakiness
0.00
0 stable · 1 alternates
Current streak
5
passed

Last 5 results newest on the right — click a square to open that run

Duration per run point color = outcome; dashed = 7-run average; click a point to open the run

Step timing trends the same step compared across the last 5 runs — slowest steps first, one line each

How long it takes distribution of 5 runs — two humps mean two different behaviours hiding behind one average

fastest 1s · slowest 1s

Why this test failed grouped by message, last 90 days

No failures recorded. 👍

Outcomes by target version

What this test does plain language, derived from the code

  1. Open the app's page
  2. Type “Ada Lovelace” into #name
  3. Type “ada@example.gov” into #email
  4. Choose “high” in #priority
  5. Take a screenshot (“form-filled”)
  6. Click #submit-btn
  7. Wait until #result appears
  8. Note in the log: “form submitted”
  9. Take a screenshot (“form-result”)
  10. body = page.inner_text("#result")
  11. assert "Ada Lovelace" in body, f"submitted name missing from result: {body!r}"
  12. assert "high" in body, f"submitted priority missing from result: {body!r}"
Show the code
"""Form fill and submit round-trip.

Exercises typing, selecting and clicking on the built-in demo page, then
verifies the submitted values echo back. Against your real target, replace
the selectors and assertions -- the shape stays the same.
"""


def run(page, ctx):
    page.goto(ctx.base_url)

    page.fill("#name", "Ada Lovelace")
    page.fill("#email", "ada@example.gov")
    page.select_option("#priority", "high")
    ctx.screenshot("form-filled")

    page.click("#submit-btn")
    page.wait_for_selector("#result")
    ctx.log("form submitted")
    ctx.screenshot("form-result")

    body = page.inner_text("#result")
    assert "Ada Lovelace" in body, f"submitted name missing from result: {body!r}"
    assert "high" in body, f"submitted priority missing from result: {body!r}"

All runs

RunStatusQueuedDuration VersionTriggerBatch
#495 passed 2026-09-25 09:00:11 1s 3.0.0 schedule schedule: Smoke 09:00
#482 passed 2026-09-25 00:31:28 1s 3.0.0 group group: Smoke
#452 passed 2026-09-25 00:25:05 1s 3.0.0 cli-adopted 8 tests (terminal)
#444 passed 2026-09-25 00:24:35 1s 3.0.0 cli-adopted 8 tests (terminal)
#436 passed 2026-09-25 00:24:06 1s 3.0.0 cli-adopted 8 tests (terminal)