test: Add retry to flaky react unit test #6865
pull-request.yml
on: pull_request
Check file changes
3s
Run Integration tests
5m 15s
Run API Tests
0s
Run React Tests
6m 18s
Generate Hasura Change Summary
0s
E2E tests
10m 32s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
33s
Annotations
2 errors, 8 warnings, and 1 notice
[chromium] › create-flow.spec.ts:46:7 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [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
1) [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
75 × 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:176:9)
at PlaywrightEditor.createTextInput (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/pages/Editor.ts:107:26)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:64:18
|
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/
|
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.6s
|
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/
|
Run React 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/
|
🎭 Playwright Run Summary
1 flaky
[chromium] › create-flow.spec.ts:46:7 › Flow creation, publish and preview › Create a flow ─────
20 passed (2.1m)
|