test(web): hold Undo toast during composer server assertions #855

Closed
kayg wants to merge 0 commits from test/composer-undo-toast-lifetime into dev
Owner

Composer tests verify journal/list/search contents before clicking an eight-second Undo toast. These checks and Playwright’s animation-stability wait can outlast the toast. A WebKit trace showed hover waiting over seven seconds for stability and completing after expiry, followed by a missing Undo button.

Use the supported reduced-motion setting for these functional creation/Undo tests, then hover the visible toast to hold its existing clock while server assertions run. Keep every real creation, contents, snippet, search and Undo assertion and real click. Product motion/lifetimes and retry settings are unchanged. The spec is unchanged on dev, so this is an independent test PR into dev.

Validation at scratch 74aa02f7 (identical final web/package trees): bunx playwright test e2e/composer-tasks.spec.ts e2e/empty.spec.ts e2e/glass.spec.ts:341 e2e/link-suggest.spec.ts --project=chromium-1440 --project=webkit-1440 --workers=1 --retries=0 --reporter=line,json passed 22/22. Before reduced-motion selection, the same production code also passed 30 fresh Chromium composer invocations (90 tests, zero retries) during one ordinary slot build; its extra WebKit matrix retained one Undo expiry failure. All failed runs and traces are retained in the BM8 report.

Composer tests verify journal/list/search contents before clicking an eight-second Undo toast. These checks and Playwright’s animation-stability wait can outlast the toast. A WebKit trace showed hover waiting over seven seconds for stability and completing after expiry, followed by a missing Undo button. Use the supported reduced-motion setting for these functional creation/Undo tests, then hover the visible toast to hold its existing clock while server assertions run. Keep every real creation, contents, snippet, search and Undo assertion and real click. Product motion/lifetimes and retry settings are unchanged. The spec is unchanged on dev, so this is an independent test PR into dev. Validation at scratch 74aa02f7 (identical final web/package trees): `bunx playwright test e2e/composer-tasks.spec.ts e2e/empty.spec.ts e2e/glass.spec.ts:341 e2e/link-suggest.spec.ts --project=chromium-1440 --project=webkit-1440 --workers=1 --retries=0 --reporter=line,json` passed 22/22. Before reduced-motion selection, the same production code also passed 30 fresh Chromium composer invocations (90 tests, zero retries) during one ordinary slot build; its extra WebKit matrix retained one Undo expiry failure. All failed runs and traces are retained in the BM8 report.
test(web): hold Undo toast during composer server assertions
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
24fdae745d
Author
Owner

BM8 validation at scratch b9dac07806a398f53f8a9acaf1506d4b6f718a30: cargo fmt --all -- --check and cargo test --workspace -j4 passed on dev-01 in the standard Nix/slot shell, 1,483 passed and 22 ignored, with no skips or test-thread override. Four report selectors passed 22/22 on Chromium/WebKit, zero retries. Final production code passed 30 fresh Chromium composer invocations (90 tests, zero retries) during one ordinary slot build. Exact commands, head provenance, append samples, retained failures and attached raw evidence: #844 (comment). No merge or train change; owned jobs finished and VM targets/temp Homes cleaned.

BM8 validation at scratch `b9dac07806a398f53f8a9acaf1506d4b6f718a30`: `cargo fmt --all -- --check` and `cargo test --workspace -j4` passed on dev-01 in the standard Nix/slot shell, 1,483 passed and 22 ignored, with no skips or test-thread override. Four report selectors passed 22/22 on Chromium/WebKit, zero retries. Final production code passed 30 fresh Chromium composer invocations (90 tests, zero retries) during one ordinary slot build. Exact commands, head provenance, append samples, retained failures and attached raw evidence: https://git.kayg.org/kayg/calternal/pulls/844#issuecomment-74911. No merge or train change; owned jobs finished and VM targets/temp Homes cleaned.
Author
Owner

Closing: head c38c3083 is already in dev (reached via 51603ed5); nothing left to merge. Branch kept.

Closing: head c38c3083 is already in dev (reached via 51603ed5); nothing left to merge. Branch kept.
kayg closed this pull request 2026-11-04 13:04:59 +00:00
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!855
No description provided.