Commit Graph
6 Commits
Author SHA1 Message Date
litruv e58b87ed3a Run the E2E job with host networking so the homeserver replies reach it. (#109)
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 2m41s
The homeserver ruv.wtf (192.168.10.4) is a macvlan interface on the caddy-caddy-1 container on the runner host pizzabox. Replies to a bridge-networked job arrive on br-f192811a98b7 and DOCKER-ISOLATION-STAGE-2 drops them, so the login E2E times out. Host networking keeps request and reply on one path.
2026-11-03 12:16:17 +11:00
litruv f4fb8d2d28 Fail fast when the runner cannot reach the homeserver.
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 2m41s
The login form only renders after the auth-flows request succeeds. On the runner the form never appeared within the expect timeout, so the login request to ruv.wtf (192.168.10.4) is not reachable from the runner network. The check turns a 30s locator timeout into a clear message.
2026-11-03 11:29:07 +11:00
litruv 4eff64b251 Install Electron's system libraries and use the v3 artifact protocol on the runner.
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 5m15s
upload-artifact@v4 rejects Gitea as GHES. Playwright's Electron launch failed on the runner before the test ran, so install-deps runs first.
2026-11-03 11:15:40 +11:00
litruv f104999800 Refresh apt lists before installing xvfb on the runner.
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 1m40s
2026-11-03 11:11:46 +11:00
litruv fcbf1020e8 Apply the #109 review panel: fork guard, loopback dev server, real authenticated assertions.
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 1m1s
Playwright's webServer replaces the custom globalSetup. The e2e job is gated to same-repo PRs because a fork PR controls both the test files and the workflow steps while the E2E_PASSWORD secret is in the environment. The dev server is pinned to loopback, the login screen is asserted before filling, the authenticated state is proven by a token-authenticated request, the token value is never printed, the failed-login test no longer asserts a tautological exitCode, and the DevTools window is no longer mistaken for the app window.
2026-11-03 11:04:18 +11:00
litruv 348e47dbd8 Add the Vitest and Playwright harness with the login E2E test. (#109) 2026-11-03 10:10:25 +11:00