chore: make Docker image run without root user #126
Annotations
3 errors and 1 notice
[setup] › auth.setup.ts:7:1 › authenticate:
frontend/tests/utils/cleanup.util.ts#L4
1) [setup] › auth.setup.ts:7:1 › authenticate ────────────────────────────────────────────────────
AxiosError: Request failed with status code 502
at utils/cleanup.util.ts:4
2 |
3 | export async function cleanupBackend() {
> 4 | await axios.post('http://localhost/api/test/reset');
| ^
5 | }
6 |
at settle (/home/runner/work/pocket-id/pocket-id/frontend/node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (/home/runner/work/pocket-id/pocket-id/frontend/node_modules/axios/lib/adapters/http.js:599:11)
at Axios.request (/home/runner/work/pocket-id/pocket-id/frontend/node_modules/axios/lib/core/Axios.js:45:41)
at cleanupBackend (/home/runner/work/pocket-id/pocket-id/frontend/tests/utils/cleanup.util.ts:4:2)
at /home/runner/work/pocket-id/pocket-id/frontend/tests/auth.setup.ts:8:5
|
[setup] › auth.setup.ts:7:1 › authenticate:
frontend/tests/utils/cleanup.util.ts#L4
1) [setup] › auth.setup.ts:7:1 › authenticate ────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
AxiosError: Request failed with status code 502
at utils/cleanup.util.ts:4
2 |
3 | export async function cleanupBackend() {
> 4 | await axios.post('http://localhost/api/test/reset');
| ^
5 | }
6 |
at settle (/home/runner/work/pocket-id/pocket-id/frontend/node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (/home/runner/work/pocket-id/pocket-id/frontend/node_modules/axios/lib/adapters/http.js:599:11)
at Axios.request (/home/runner/work/pocket-id/pocket-id/frontend/node_modules/axios/lib/core/Axios.js:45:41)
at cleanupBackend (/home/runner/work/pocket-id/pocket-id/frontend/tests/utils/cleanup.util.ts:4:2)
at /home/runner/work/pocket-id/pocket-id/frontend/tests/auth.setup.ts:8:5
|
build-and-test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[setup] › auth.setup.ts:7:1 › authenticate ─────────────────────────────────────────────────────
30 did not run
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
534 KB |
|