feat: exclusive 'Or' option in checklists #7165
pull-request.yml
on: pull_request
Check file changes
6s
Run Integration tests
5m 12s
Run API Tests
0s
Run React Tests
6m 21s
Generate Hasura Change Summary
0s
E2E tests
14m 35s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
33s
Annotations
15 errors, 5 warnings, and 1 notice
src/@planx/components/Checklist/Public/tests/Public.test.tsx > Checklist Component - Grouped Layout > answers are submitted in order they were supplied:
editor.planx.uk/src/@planx/components/Checklist/Public/tests/Public.test.tsx#L31
AssertionError: expected "spy" to be called with arguments: [ { answers: [ 'S1_Option1', …(1) ] } ]
Received:
Number of calls: 0
❯ src/@planx/components/Checklist/Public/tests/Public.test.tsx:31:26
|
src/@planx/components/Checklist/Public/tests/Public.test.tsx > Checklist Component - Grouped Layout > should be navigable by keyboard:
editor.planx.uk/src/@planx/components/Checklist/Public/tests/Public.test.tsx#L122
AssertionError: expected "spy" to be called with arguments: [ { answers: [ 'S2_Option1', …(1) ] } ]
Received:
Number of calls: 0
❯ src/@planx/components/Checklist/Public/tests/Public.test.tsx:122:26
|
src/@planx/components/Checklist/Public/tests/Public.test.tsx > Checklist Component - Basic & Images Layout > answers are submitted in order they were supplied (Basic layout):
editor.planx.uk/src/@planx/components/Checklist/Public/tests/Public.test.tsx#L152
AssertionError: expected "spy" to be called with arguments: [ { answers: [ 'flat_id', …(2) ] } ]
Received:
Number of calls: 0
❯ src/@planx/components/Checklist/Public/tests/Public.test.tsx:152:28
|
src/@planx/components/Checklist/Public/tests/Public.test.tsx > Checklist Component - Basic & Images Layout > answers are submitted in order they were supplied (Images layout):
editor.planx.uk/src/@planx/components/Checklist/Public/tests/Public.test.tsx#L152
AssertionError: expected "spy" to be called with arguments: [ { answers: [ 'flat_id', …(2) ] } ]
Received:
Number of calls: 0
❯ src/@planx/components/Checklist/Public/tests/Public.test.tsx:152:28
|
Run React Tests
Process completed with exit code 1.
|
[chromium] › create-flow.spec.ts:234:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:234:7 › Flow creation:
e2e/tests/ui-driven/src/helpers/userActions.ts#L98
1) [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
Error: expect(locator).toBeVisible()
Locator: getByRole('radiogroup', { name: 'Is this an External Portal?' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('radiogroup', { name: 'Is this an External Portal?' })
at helpers/userActions.ts:98
96 | }): Promise<Locator> {
97 | const group = page.getByRole("radiogroup", { name: title });
> 98 | await expect(group).toBeVisible();
| ^
99 | return group;
100 | }
101 |
at findQuestion (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/userActions.ts:98:23)
at answerQuestion (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/userActions.ts:111:23)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:276:25
|
[chromium] › create-flow.spec.ts:234:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:234:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L248
1) [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'E2E/an-external-portal-service' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('link', { name: 'E2E/an-external-portal-service' })
246 | await expect(
247 | page.getByRole("link", { name: "E2E/an-external-portal-service" }),
> 248 | ).toBeVisible();
| ^
249 |
250 | await page.goto(
251 | `/${context.team.slug}/${serviceProps.slug}/published?analytics=false`,
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:248:7
|
[chromium] › create-flow.spec.ts:234:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:234:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L248
1) [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'E2E/an-external-portal-service' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('link', { name: 'E2E/an-external-portal-service' })
246 | await expect(
247 | page.getByRole("link", { name: "E2E/an-external-portal-service" }),
> 248 | ).toBeVisible();
| ^
249 |
250 | await page.goto(
251 | `/${context.team.slug}/${serviceProps.slug}/published?analytics=false`,
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:248:7
|
[chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started:
e2e/tests/ui-driven/src/sections.spec.ts#L1
2) [chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses
Test timeout of 45000ms exceeded.
|
[chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started:
e2e/tests/ui-driven/src/sections.spec.ts#L1
2) [chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started:
e2e/tests/ui-driven/src/sections.spec.ts#L1
2) [chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
E2E tests
Process completed with exit code 1.
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L98
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L106
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L140
Unexpected use of networkidle
|
Slow Test:
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts took 19.7s
|
🎭 Playwright Run Summary
2 failed
[chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow
[chromium] › sections.spec.ts:65:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses
20 passed (6.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
2.71 MB |
|