feat(backend): Toggle flow online or offline #4514
pull-request.yml
on: pull_request
Check file changes
11s
Run Integration tests
4m 52s
Run API Tests
0s
Run React Tests
0s
Generate Hasura Change Summary
7s
E2E tests
40m 15s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
35s
Annotations
10 errors, 10 warnings, and 1 notice
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L174
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'PUBLISH', exact: true })
172 |
173 | page.getByRole("button", { name: "CHECK FOR CHANGES TO PUBLISH" }).click();
> 174 | page.getByRole("button", { name: "PUBLISH", exact: true }).click();
| ^
175 |
176 | const previewLink = page.getByRole("link", {
177 | name: "Open published service",
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:174:64
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L173
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'CHECK FOR CHANGES TO PUBLISH' })
171 | await page.goto(`/${context.team.slug}/${serviceProps.slug}`);
172 |
> 173 | page.getByRole("button", { name: "CHECK FOR CHANGES TO PUBLISH" }).click();
| ^
174 | page.getByRole("button", { name: "PUBLISH", exact: true }).click();
175 |
176 | const previewLink = page.getByRole("link", {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:173:72
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L173
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'CHECK FOR CHANGES TO PUBLISH' })
171 | await page.goto(`/${context.team.slug}/${serviceProps.slug}`);
172 |
> 173 | page.getByRole("button", { name: "CHECK FOR CHANGES TO PUBLISH" }).click();
| ^
174 | page.getByRole("button", { name: "PUBLISH", exact: true }).click();
175 |
176 | const previewLink = page.getByRole("link", {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:173:72
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published flow
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published flow:
e2e/tests/ui-driven/src/globalHelpers.ts#L165
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published 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:196:25
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published flow:
e2e/tests/ui-driven/src/globalHelpers.ts#L165
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Can preview a published 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:196:25
|
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/.
|
Generate Hasura Change Summary
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Fieldguide/action-hasura-change-summary@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 4.6m
|
🎭 Playwright Run Summary
13 failed
[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] › 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
4 passed (32.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
3.91 MB |
|