test(web): re-record the job goldens for the ring-backed rows
A settled job that retained no output is a static row, and a killed row shows the kill reason in its detail. The live-stream scenario's idle locator now matches the settled trigger exactly, so its settled capture cannot race the roster refresh.
This commit is contained in:
1 parent
9e8f3ce987
commit
fec81b7295
3 files changed
+3
-6
No files matched your search
@@ -120,7 +120,7 @@ describe.skipIf(MODE === 'record')('web e2e: live job stream', () => {
|
||||
|
||||
// Settlement arrives on the observation stream itself, so the open panel
|
||||
// flips without any further interaction; the roster trigger follows.
|
||||
const idle = page.getByRole('button', { name: '1 background job' })
|
||||
const idle = page.getByRole('button', { name: '1 background job', exact: true })
|
||||
await idle.waitFor({ timeout: 20_000 })
|
||||
await page.getByText('streamed-marker-line').waitFor({ timeout: 10_000 })
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
- list "Background jobs":
|
||||
- listitem:
|
||||
- button "Hide live output of printf 'streamed-%s\\n' marker-line; for _ in $(seq 1 3000); do [ -e .live-job-stream.release ] && break; sleep 0.2; done" [expanded]:
|
||||
- text: "bash printf 'streamed-%s\\n' marker-line; for _ in $(seq 1 3000); do [ -e .live-job-stream.release ] && break; sleep 0.2; done signal: SIGTERM {{duration}}"
|
||||
- text: "bash printf 'streamed-%s\\n' marker-line; for _ in $(seq 1 3000); do [ -e .live-job-stream.release ] && break; sleep 0.2; done signal: SIGTERM; web e2e cancellation {{duration}}"
|
||||
- img
|
||||
- text: $ printf 'streamed-%s\n' marker-line; for _ in $(seq 1 3000); do [ -e .live-job-stream.release ] && break; sleep 0.2; done
|
||||
- button "Copy"
|
||||
|
||||
@@ -1,5 +1,2 @@
|
||||
- list "Background jobs":
|
||||
- listitem:
|
||||
- button "Show live output of for _ in $(seq 1 3000); do [ -e .background-job-list.release ] && break; sleep 0.2; done":
|
||||
- text: "bash for _ in $(seq 1 3000); do [ -e .background-job-list.release ] && break; sleep 0.2; done signal: SIGTERM {{duration}}"
|
||||
- img
|
||||
- listitem: "bash for _ in $(seq 1 3000); do [ -e .background-job-list.release ] && break; sleep 0.2; done signal: SIGTERM; web e2e cancellation {{duration}}"
|
||||
Reference in new issue
Block a user