feat(proof-of-concept): GraphQL subscription for operations #4209
pull-request.yml
on: pull_request
Check file changes
4s
Run Integration tests
4m 24s
Run API Tests
0s
Run React Tests
3m 10s
Generate Hasura Change Summary
0s
E2E tests
49m 39s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
33s
Annotations
11 errors, 14 warnings, and 1 notice
Run React Tests
Process completed with exit code 1.
|
[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 › Cannot preview an unpublished flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L162
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow
Error: expect(locator).toBeVisible()
Locator: getByText('Not Found')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByText('Not Found')
160 | );
161 |
> 162 | await expect(page.getByText("Not Found")).toBeVisible();
| ^
163 | });
164 |
165 | test("Publish a flow", async ({ browser }) => {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:162:47
|
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L162
2) [chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByText('Not Found')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByText('Not Found')
160 | );
161 |
> 162 | await expect(page.getByText("Not Found")).toBeVisible();
| ^
163 | });
164 |
165 | test("Publish a flow", async ({ browser }) => {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:162:47
|
Check file changes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build React App
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Upsert Vultr Instance
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: theopensystemslab/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Run React Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: andstor/file-existence-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: andstor/file-existence-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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] › save-and-return.spec.ts#L1
e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts took 13.5m
|
Slow Test:
e2e/tests/ui-driven/[chromium] › sections.spec.ts#L1
e2e/tests/ui-driven/[chromium] › sections.spec.ts took 11.2m
|
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 9.0m
|
Slow Test:
e2e/tests/ui-driven/[chromium] › login.spec.ts#L1
e2e/tests/ui-driven/[chromium] › login.spec.ts took 4.5m
|
🎭 Playwright Run Summary
17 failed
[chromium] › create-flow/create-flow.spec.ts:92:7 › Navigation › Create a flow ─────────────────
[chromium] › create-flow/create-flow.spec.ts:148:7 › Navigation › Cannot preview an unpublished flow
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ───────────────
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published 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
[chromium] › save-and-return.spec.ts:46:9 › Save and return › email › email confirmation is required
[chromium] › save-and-return.spec.ts:54:9 › Save and return › email › email confirmation must match
[chromium] › save-and-return.spec.ts:65:9 › Save and return › resuming a saved application › the application presents a review screen on return
[chromium] › save-and-return.spec.ts:91:9 › Save and return › resuming a saved application › the application resumes from the last unanswered question
[chromium] › save-and-return.spec.ts:118:9 › Save and return › session reconciliation › the application resumes with no modifications
[chromium] › save-and-return.spec.ts:141:9 › Save and return › session reconciliation › the application resumes from the first modified question
[chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses
[chromium] › sections.spec.ts:158:9 › Section statuses › a straight-through journey › started and ready to continue
[chromium] › sections.spec.ts:313:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
[chromium] › sections.spec.ts:372:9 › Section statuses › simple save and return › the ready to continue status
[chromium] › sections.spec.ts:446:9 › Section statuses › save and return with service changes (reconciliation) › needs new information and started
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
409 KB |
|