Files
2026-09-09 18:59:42 +02:00

1.2 KiB

Offline browser acceptance

WJ-037 uses the production service worker in a clean Chromium context against an isolated application and H2 database. After authenticating through the captured email fixture, Alice types an unsaved work entry. The test waits for service-worker control, disables the browser context's network and navigates to the application root.

The real cached offline page must display the English offline notice, expose no mutation buttons or saved notification, and leave both work and habit records unchanged. On reconnecting, the original work form must retain its unsaved hours and description without committing a booking.

No service worker, fetch response or offline document is replaced by a test stub. Browser offline emulation does not establish physical Android installation or operating-system network behavior. No production data or external messages are used.

Validation: the full local pipeline on 0.1.62-SNAPSHOT passed: 192 executed JVM tests including 18 browser examples, 42 filtered reports, 68 operations tests, 17 frontend tests and production/admin-recovery smoke. All four WJ-037 steps passed. The completion push increments the version to 0.1.63-SNAPSHOT.