Click a control and wait for content that renders asynchronously.
asyncdemosmoke version: 1.0 DEMO-003__delayed_content.py group: Smoke
Runs
5
Pass rate
100%
5 passed / 0 failed
Avg duration
2s
p95 2s
Estimate
2s
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 2s · slowest 2s
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
- Click #reveal-btn
- Note in the log: “clicked reveal, waiting for delayed content”
- Wait until #secret appears (up to 10 s)
- Take a screenshot (“revealed”)
- text = page.inner_text("#secret")
- assert "delayed content" in text.lower(), f"unexpected content: {text!r}"
Show the code
"""Waiting for content that appears late.
The demo page reveals an element ~1.2s after a click, the way real apps
load data after an action. Playwright's wait_for_selector handles it.
"""
def run(page, ctx):
page.goto(ctx.base_url)
page.click("#reveal-btn")
ctx.log("clicked reveal, waiting for delayed content")
page.wait_for_selector("#secret", state="visible", timeout=10000)
ctx.screenshot("revealed")
text = page.inner_text("#secret")
assert "delayed content" in text.lower(), f"unexpected content: {text!r}"
All runs
| Run | Status | Queued | Duration | Version | Trigger | Batch |
|---|---|---|---|---|---|---|
| #496 | passed | 2026-09-25 09:00:11 | 2s | 3.0.0 | schedule | schedule: Smoke 09:00 |
| #483 | passed | 2026-09-25 00:31:28 | 2s | 3.0.0 | group | group: Smoke |
| #453 | passed | 2026-09-25 00:25:05 | 2s | 3.0.0 | cli-adopted | 8 tests (terminal) |
| #445 | passed | 2026-09-25 00:24:35 | 2s | 3.0.0 | cli-adopted | 8 tests (terminal) |
| #437 | passed | 2026-09-25 00:24:06 | 2s | 3.0.0 | cli-adopted | 8 tests (terminal) |