Skip to content

feat: autocomplete data fields in the editor #7222

feat: autocomplete data fields in the editor

feat: autocomplete data fields in the editor #7222

Triggered via pull request December 20, 2024 15:40
Status Failure
Total duration 16m 54s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
3s
Check file changes
Build React App
3m 43s
Build React App
Run Integration tests
4m 59s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
6m 45s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
16m 34s
E2E tests
Upsert Vultr Instance
2m 54s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
35s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
[chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L403
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Error: locator.fill: Test ended. Call log: - waiting for getByRole('combobox', { name: 'Data field' }).nth(1) at helpers/addComponent.ts:403 401 | .getByRole("combobox", { name: "Data field" }) 402 | .nth(index) > 403 | .fill(option.dataValue); | ^ 404 | index++; 405 | } 406 | } at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:403:8) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:195:3) at PlaywrightEditor.createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/pages/Editor.ts:93:5) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:79:5
[chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L403
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test ended. Call log: - waiting for getByRole('combobox', { name: 'Data field' }).nth(1) at helpers/addComponent.ts:403 401 | .getByRole("combobox", { name: "Data field" }) 402 | .nth(index) > 403 | .fill(option.dataValue); | ^ 404 | index++; 405 | } 406 | } at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:403:8) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:195:3) at PlaywrightEditor.createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/pages/Editor.ts:93:5) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:79:5
[chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L403
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test ended. Call log: - waiting for getByRole('combobox', { name: 'Data field' }).nth(1) at helpers/addComponent.ts:403 401 | .getByRole("combobox", { name: "Data field" }) 402 | .nth(index) > 403 | .fill(option.dataValue); | ^ 404 | index++; 405 | } 406 | } at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:403:8) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:195:3) at PlaywrightEditor.createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/pages/Editor.ts:93:5) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:79:5
[chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
2) [chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation, publish and preview › Publish and preview flow with geospatial components Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation, publish and preview › Publish and preview flow with geospatial components Error: expect(locator).toBeVisible() Locator: getByRole('link', { name: 'a-test-service' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 45000ms - waiting for getByRole('link', { name: 'a-test-service' }) at helpers/navigateAndPublish.ts:7 5 | await page.goto(`/${contextDefaults.team.slug}/${slug}`); 6 | > 7 | await expect(page.getByRole("link", { name: slug })).toBeVisible(); | ^ 8 | }; 9 | 10 | export const publishService = async (page: Page) => { at navigateToService (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts:7:56) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:115:5
[chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
2) [chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation, publish and preview › Publish and preview flow with geospatial components Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation, publish and preview › Publish and preview flow with geospatial components Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: getByRole('link', { name: 'a-test-service' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 45000ms - waiting for getByRole('link', { name: 'a-test-service' }) at helpers/navigateAndPublish.ts:7 5 | await page.goto(`/${contextDefaults.team.slug}/${slug}`); 6 | > 7 | await expect(page.getByRole("link", { name: slug })).toBeVisible(); | ^ 8 | }; 9 | 10 | export const publishService = async (page: Page) => { at navigateToService (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts:7:56) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:115:5
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
🎭 Playwright Run Summary
3 failed [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow [chromium] › create-flow-with-geospatial.spec.ts:107:7 › Flow creation, publish and preview › Publish and preview flow with geospatial components [chromium] › create-flow.spec.ts:234:7 › Flow creation, publish and preview › Can preview a published flow 19 passed (8.0m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
2.07 MB