Skip to content

feat: autocomplete data fields in the editor #7192

feat: autocomplete data fields in the editor

feat: autocomplete data fields in the editor #7192

Triggered via pull request December 19, 2024 07:26
Status Failure
Total duration 16m 29s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
3s
Check file changes
Build React App
5s
Build React App
Run Integration tests
4m 55s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
6m 36s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
16m 12s
E2E tests
Upsert Vultr Instance
2m 58s
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:59:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation, publish and preview › Create a flow Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L393
1) [chromium] › create-flow-with-geospatial.spec.ts:59: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:393 391 | .getByRole("combobox", { name: "Data field" }) 392 | .nth(index) > 393 | .fill(option.dataValue); | ^ 394 | index++; 395 | } 396 | } at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:393:8) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:186: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:74:5
[chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation, publish and preview › Create a flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L393
1) [chromium] › create-flow-with-geospatial.spec.ts:59: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:393 391 | .getByRole("combobox", { name: "Data field" }) 392 | .nth(index) > 393 | .fill(option.dataValue); | ^ 394 | index++; 395 | } 396 | } at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:393:8) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:186: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:74:5
[chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation, publish and preview › Create a flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:59:7 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L393
1) [chromium] › create-flow-with-geospatial.spec.ts:59: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:393 391 | .getByRole("combobox", { name: "Data field" }) 392 | .nth(index) > 393 | .fill(option.dataValue); | ^ 394 | index++; 395 | } 396 | } at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:393:8) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:186: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:74:5
[chromium] › create-flow-with-geospatial.spec.ts:102:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
2) [chromium] › create-flow-with-geospatial.spec.ts:102: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:102:7 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow-with-geospatial.spec.ts:102: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:110:5
[chromium] › create-flow-with-geospatial.spec.ts:102:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
2) [chromium] › create-flow-with-geospatial.spec.ts:102: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:102:7 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow-with-geospatial.spec.ts:102: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:110: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:59:7 › Flow creation, publish and preview › Create a flow [chromium] › create-flow-with-geospatial.spec.ts:102: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.99 MB