Files
cinny-desktop/tests/e2e
litruv 87ba01fde9
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Successful in 2m57s
Move the crash assertion ahead of the locator and name the crash path in the artifact. (#109)
- The `crash` assertion now runs before the form check, because on a crashed page the locator throws TargetClosedError and names the wrong thing.
- The `crash` handler logs the crash, so the failure artifact is not empty on that path.
- The DevTools window loop records the window URLs, so a hang there names which windows existed instead of reporting a bare timeout.
- Comment states that a launch failure produces an empty console artifact by construction, so the report's failure message is the diagnosis there.

Checks: `node --check` on the file, `npm run test:unit` — 2 passed. E2E cannot be run locally (no `E2E_PASSWORD` in this session); CI is the check.
2026-11-03 13:42:15 +11:00
..