CI stacks come up on the runner again: mosquitto reads its config from /etc/mosquitto, where Ubuntu's AppArmor profile lets it, and Playwright reaches the app on localhost, a secure context for the clipboard spec
Docs / docs (push) Successful in 20s
Playwright Tests / test-playwright (1, 2) (push) Successful in 3m1s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m1s
pre-commit / pre-commit (push) Successful in 3m1s
Test Backend / test-backend (3.12) (push) Successful in 4m30s
Test Backend / test-backend (3.14) (push) Successful in 4m18s
Compose Smoke Test / test-compose (push) Successful in 28s
Playwright Tests / merge-reports (push) Successful in 1m17s
Docs / docs (push) Successful in 20s
Playwright Tests / test-playwright (1, 2) (push) Successful in 3m1s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m1s
pre-commit / pre-commit (push) Successful in 3m1s
Test Backend / test-backend (3.12) (push) Successful in 4m30s
Test Backend / test-backend (3.14) (push) Successful in 4m18s
Compose Smoke Test / test-compose (push) Successful in 28s
Playwright Tests / merge-reports (push) Successful in 1m17s
This commit is contained in:
@@ -52,6 +52,10 @@ services:
|
||||
volumes: !reset []
|
||||
# frontend/playwright.config.ts defaults baseURL to the test stack's
|
||||
# hostname, which resolves to nothing in here. The backend serves the SPA
|
||||
# and its API on one origin.
|
||||
# and its API on one origin. Reached as localhost from inside the
|
||||
# backend's network namespace, because http://backend:8000 is not a secure
|
||||
# context and the clipboard spec needs navigator.clipboard, which only a
|
||||
# secure context has. Service names still resolve in there.
|
||||
network_mode: service:backend
|
||||
environment:
|
||||
- PLAYWRIGHT_BASE_URL=http://backend:8000
|
||||
- PLAYWRIGHT_BASE_URL=http://localhost:8000
|
||||
|
||||
Reference in New Issue
Block a user