Document the runs screen, the run context and the generated dashboard
Docs / docs (push) Successful in 25s
Playwright Tests / test-playwright (1, 2) (push) Failing after 2m47s
Playwright Tests / test-playwright (2, 2) (push) Failing after 1m42s
Playwright Tests / merge-reports (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 1m45s
Test Backend / test-backend (push) Canceled after 0s
Compose Smoke Test / test-compose (push) Canceled after 0s
Docs / docs (push) Successful in 25s
Playwright Tests / test-playwright (1, 2) (push) Failing after 2m47s
Playwright Tests / test-playwright (2, 2) (push) Failing after 1m42s
Playwright Tests / merge-reports (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 1m45s
Test Backend / test-backend (push) Canceled after 0s
Compose Smoke Test / test-compose (push) Canceled after 0s
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