Skip to content

fix(wip): Revert to dynamic origin header #3477

fix(wip): Revert to dynamic origin header

fix(wip): Revert to dynamic origin header #3477

Triggered via pull request January 15, 2024 12:38
Status Failure
Total duration 18m 36s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
5s
Check file changes
Build React App
3m 54s
Build React App
Run Integration tests
5m 24s
Run Integration tests
Run API Tests
2m 7s
Run API Tests
Run React Tests
0s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
18m 12s
E2E tests
Upsert Vultr Instance
12m 9s
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, 22 warnings, and 1 notice
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow: e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ──────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow: e2e/tests/ui-driven/src/create-flow/helpers.ts#L16
1) [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ──────────────── Error: page.waitForResponse: Test ended. at create-flow/helpers.ts:16 14 | const page = await createAuthenticatedSession({ browser, userId }); 15 | await page.goto("/"); > 16 | await page.waitForResponse((response) => { | ^ 17 | return response.url().includes("/graphql"); 18 | }); 19 | return page; at getAdminPage (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/helpers.ts:16:14) at getTeamPage (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/helpers.ts:31:16) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:93:18
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow: e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow: e2e/tests/ui-driven/src/create-flow/helpers.ts#L16
1) [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForResponse: Test ended. at create-flow/helpers.ts:16 14 | const page = await createAuthenticatedSession({ browser, userId }); 15 | await page.goto("/"); > 16 | await page.waitForResponse((response) => { | ^ 17 | return response.url().includes("/graphql"); 18 | }); 19 | return page; at getAdminPage (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/helpers.ts:16:14) at getTeamPage (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/helpers.ts:31:16) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:93:18
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow: e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow: e2e/tests/ui-driven/src/create-flow/helpers.ts#L16
1) [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForResponse: Test ended. at create-flow/helpers.ts:16 14 | const page = await createAuthenticatedSession({ browser, userId }); 15 | await page.goto("/"); > 16 | await page.waitForResponse((response) => { | ^ 17 | return response.url().includes("/graphql"); 18 | }); 19 | return page; at getAdminPage (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/helpers.ts:16:14) at getTeamPage (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/helpers.ts:31:16) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:93:18
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow: e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow ────── Test timeout of 45000ms exceeded.
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow: e2e/tests/ui-driven/src/globalHelpers.ts#L165
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow ────── Error: expect(locator).toBeVisible() Locator: getByRole('radiogroup', { name: 'Is this a test?' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 45000ms - waiting for getByRole('radiogroup', { name: 'Is this a test?' }) at globalHelpers.ts:165 163 | }): Promise<Locator> { 164 | const group = page.getByRole("radiogroup", { name: title }); > 165 | await expect(group).toBeVisible(); | ^ 166 | return group; 167 | } 168 | at findQuestion (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:165:23) at answerQuestion (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:178:23) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:158:25
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow: e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow: e2e/tests/ui-driven/src/globalHelpers.ts#L165
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByRole('radiogroup', { name: 'Is this a test?' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 45000ms - waiting for getByRole('radiogroup', { name: 'Is this a test?' }) at globalHelpers.ts:165 163 | }): Promise<Locator> { 164 | const group = page.getByRole("radiogroup", { name: title }); > 165 | await expect(group).toBeVisible(); | ^ 166 | return group; 167 | } 168 | at findQuestion (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:165:23) at answerQuestion (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:178:23) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:158:25
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#L73
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L74
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L108
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L157
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/
Upsert Vultr Instance
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Upsert Vultr Instance
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Upsert Vultr Instance
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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] › create-flow/create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow/create-flow.spec.ts took 4.5m
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 16.8s
Slow Test: e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts#L1
e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts took 15.6s
🎭 Playwright Run Summary
4 failed [chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ───────────────── [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Preview a created flow ─────── [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 11 passed (9.8m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
149 KB