test: add feedback component into e2e flow #6861
pull-request.yml
on: pull_request
Check file changes
6s
Run Integration tests
7m 3s
Run API Tests
0s
Run React Tests
0s
Generate Hasura Change Summary
0s
E2E tests
14m 1s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
34s
Annotations
9 errors, 7 warnings, and 1 notice
[chromium] › create-flow.spec.ts:180:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:180:7 › Flow creation:
e2e/tests/ui-driven/src/helpers/userActions.ts#L69
1) [chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('continue-button')
at helpers/userActions.ts:69
67 | await waitPromise;
68 | } else {
> 69 | await page.getByTestId("continue-button").click();
| ^
70 | }
71 | }
72 |
at clickContinue (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/userActions.ts:69:47)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:298:24
|
[chromium] › create-flow.spec.ts:180:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:180:7 › Flow creation:
e2e/tests/ui-driven/src/helpers/userActions.ts#L98
1) [chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('radiogroup', { name: 'Is this a test?' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('radiogroup', { name: 'Is this a test?' })
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:194:25
|
[chromium] › create-flow.spec.ts:180:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:180:7 › Flow creation:
e2e/tests/ui-driven/src/helpers/userActions.ts#L98
1) [chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('radiogroup', { name: 'Is this a test?' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('radiogroup', { name: 'Is this a test?' })
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:194:25
|
[chromium] › create-flow.spec.ts:46:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:46:7 › Flow creation, publish and preview › Create a flow ────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:46:7 › Flow creation:
e2e/tests/ui-driven/src/helpers/addComponent.ts#L11
2) [chromium] › create-flow.spec.ts:46:7 › Flow creation, publish and preview › Create a flow ────
Error: locator.click: Test ended.
Call log:
- waiting for locator('.hanger > a').last()
- locator resolved to <a class=" " href="/E2E/a-test-service/nodes/_root/nodes/new"></a>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <h4 class="MuiTypography-root MuiTypography-subtitle1 css-24cwob">Options</h4> from <div role="presentation" class="MuiDialog-root MuiModal-root css-qnzqcu">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <h4 class="MuiTypography-root MuiTypography-subtitle1 css-24cwob">Options</h4> from <div role="presentation" class="MuiDialog-root MuiModal-root css-qnzqcu">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
76 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <h4 class="MuiTypography-root MuiTypography-subtitle1 css-24cwob">Options</h4> from <div role="presentation" class="MuiDialog-root MuiModal-root css-qnzqcu">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at helpers/addComponent.ts:11
9 | options?: string[],
10 | ) => {
> 11 | await locatingNode.click();
| ^
12 | await page.getByRole("dialog").waitFor();
13 | await page.locator("select").selectOption({ value: type.toString() });
14 |
at createBaseComponent (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:11:22)
at createTextInput (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:177:9)
at PlaywrightEditor.createTextInput (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/pages/Editor.ts:108:26)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:64:18
|
E2E tests
Process completed with exit code 1.
|
Check file changes
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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#L88
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L132
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 18.2s
|
🎭 Playwright Run Summary
1 failed
[chromium] › create-flow.spec.ts:180:7 › Flow creation, publish and preview › Can preview a published flow
1 flaky
[chromium] › create-flow.spec.ts:46:7 › Flow creation, publish and preview › Create a flow ─────
19 passed (4.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
14.1 MB |
|