chore: Replace jest mock with vitest mock #6866
Triggered via pull request
November 22, 2024 10:42
Status
Success
Total duration
22m 43s
Artifacts
–
pull-request.yml
on: pull_request
Check file changes
7s
Run Integration tests
4m 58s
Run API Tests
0s
Run React Tests
6m 25s
Generate Hasura Change Summary
0s
E2E tests
10m 18s
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.
Browser logs:
<launching> /home/runner/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-diKa92 --remote-debugging-pipe --no-startup-window
<launched> pid=12139
[pid=12139][err] [1122/105130.594339:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
[pid=12139][err] [1122/105130.595443:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
[pid=12139] <gracefully close start>
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
|
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/
|
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/
|
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 17.2s
|
🎭 Playwright Run Summary
1 flaky
[chromium] › create-flow.spec.ts:46:7 › Flow creation, publish and preview › Create a flow ─────
20 passed (2.1m)
|