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
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
- Open the app's page
- Type “Ada Lovelace” into #name
- Type “ada@example.gov” into #email
- Choose “high” in #priority
- Take a screenshot (“form-filled”)
- Click #submit-btn
- Wait until #result appears
- Note in the log: “form submitted”
- Take a 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}"
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
| Run | Status | Queued | Duration | Version | Trigger | Batch |
|---|---|---|---|---|---|---|
| #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) |