Document the runs screen, the run context and the generated dashboard
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user