Document the runs screen, the run context and the generated dashboard

This commit is contained in:
2026-08-25 12:44:19 +02:00
parent 9ec38d4bc3
commit 3701a0d9e6
4 changed files with 74 additions and 1 deletions
+6
View File
@@ -152,6 +152,12 @@ async function captureRuns(page, dir) {
await page.screenshot({ path: `${dir}/app-run-context.png` })
}
// The dashboard that pins the last few runs, drawn live rather than in a
// context: the other half of the same idea.
await page.goto(`${APP_URL}/view/demo_training`, { waitUntil: "networkidle" })
await page.waitForTimeout(2500)
await page.screenshot({ path: `${dir}/app-runs-pinned.png` })
await page.goto(`${APP_URL}/runs`, { waitUntil: "networkidle" })
await page.getByTestId("run-link").first().click()
await page.waitForURL(/\/runs\/.+/, { timeout: 15000 })