Skip to content

fix: Detect presence of httpOnly cookie #3323

fix: Detect presence of httpOnly cookie

fix: Detect presence of httpOnly cookie #3323

Triggered via pull request December 21, 2023 15:13
Status Failure
Total duration 14m 25s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
3s
Check file changes
Build React App
3m 59s
Build React App
Run Integration tests
5m 22s
Run Integration tests
Run API Tests
2m 0s
Run API Tests
Run React Tests
4m 15s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
14m 4s
E2E tests
Upsert Vultr Instance
12s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
0s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 17 warnings, and 1 notice
[chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login: e2e/tests/ui-driven/src/login.spec.ts#L1
1) [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ───────────────────── Test timeout of 45000ms exceeded.
[chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login: e2e/tests/ui-driven/src/login.spec.ts#L36
1) [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ───────────────────── Error: page.waitForResponse: Test ended. 34 | 35 | await page.goto("/"); > 36 | await page.waitForResponse((response) => { | ^ 37 | return response.url().includes("/graphql"); 38 | }); 39 | at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/login.spec.ts:36:16
[chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login: e2e/tests/ui-driven/src/login.spec.ts#L1
1) [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login: e2e/tests/ui-driven/src/login.spec.ts#L36
1) [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForResponse: Test ended. 34 | 35 | await page.goto("/"); > 36 | await page.waitForResponse((response) => { | ^ 37 | return response.url().includes("/graphql"); 38 | }); 39 | at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/login.spec.ts:36:16
[chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login: e2e/tests/ui-driven/src/login.spec.ts#L1
1) [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login: e2e/tests/ui-driven/src/login.spec.ts#L36
1) [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForResponse: Test ended. 34 | 35 | await page.goto("/"); > 36 | await page.waitForResponse((response) => { | ^ 37 | return response.url().includes("/graphql"); 38 | }); 39 | at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/login.spec.ts:36:16
[chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful: e2e/tests/ui-driven/src/login.spec.ts#L1
2) [chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful Test timeout of 45000ms exceeded.
[chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful: e2e/tests/ui-driven/src/login.spec.ts#L54
2) [chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful Error: locator.waitFor: Test ended. Call log: - waiting for locator('h2').filter({ hasText: 'E2E Test Team' }) to be visible 52 | 53 | const teamLink = page.locator("h2").filter({ hasText: context.team.name }); > 54 | await teamLink.waitFor(); // wait for this to be visible | ^ 55 | 56 | // drop graphql requests 57 | await page.route("**/graphql", (route) => { at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/login.spec.ts:54:20
[chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful: e2e/tests/ui-driven/src/login.spec.ts#L1
2) [chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful: e2e/tests/ui-driven/src/login.spec.ts#L54
2) [chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Test ended. Call log: - waiting for locator('h2').filter({ hasText: 'E2E Test Team' }) to be visible 52 | 53 | const teamLink = page.locator("h2").filter({ hasText: context.team.name }); > 54 | await teamLink.waitFor(); // wait for this to be visible | ^ 55 | 56 | // drop graphql requests 57 | await page.route("**/graphql", (route) => { at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/login.spec.ts:54:20
Run API Tests: api.planx.uk/lib/notify/index.ts#L73
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/auth/strategy/google.ts#L20
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/classifiedRoads.ts#L129
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/classifiedRoads.ts#L150
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L72
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L73
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L107
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L156
Unexpected any. Specify a different type
Upsert Vultr Instance
The following actions uses node12 which is deprecated and will be forced to run on node16: theopensystemslab/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L92
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L86
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L95
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L130
Unexpected use of networkidle
Slow Test: e2e/tests/ui-driven/[chromium] › login.spec.ts#L1
e2e/tests/ui-driven/[chromium] › login.spec.ts took 4.5m
Slow Test: e2e/tests/ui-driven/[chromium] › sections.spec.ts#L1
e2e/tests/ui-driven/[chromium] › sections.spec.ts took 18.2s
🎭 Playwright Run Summary
2 failed [chromium] › login.spec.ts:29:7 › Login › setting a cookie bypasses login ────────────────────── [chromium] › login.spec.ts:44:7 › Login › shows error toast when there is a network error and removes it when a retry is successful 1 skipped 11 passed (5.2m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
163 KB