Skip to content

feat: autocomplete data fields in the editor #7234

feat: autocomplete data fields in the editor

feat: autocomplete data fields in the editor #7234

Triggered via pull request January 2, 2025 09:40
Status Failure
Total duration 17m 21s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
4s
Check file changes
Build React App
10s
Build React App
Run Integration tests
5m 20s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
6m 44s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
17m 3s
E2E tests
Upsert Vultr Instance
2m 53s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
34s
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#L401
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Error: locator.click: Test ended. Call log: - waiting for getByRole('option', { name: /option.dataValue/ }) at helpers/addComponent.ts:401 399 | await page.getByPlaceholder("Option").last().fill(option.optionText); 400 | await page.getByRole("combobox", { name: "Data field" }).last().click(); > 401 | await page.getByRole("option", { name: /option.dataValue/ }).click(); | ^ 402 | } 403 | } 404 | at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:401:66) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:197: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#L401
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test ended. Call log: - waiting for getByRole('option', { name: /option.dataValue/ }) at helpers/addComponent.ts:401 399 | await page.getByPlaceholder("Option").last().fill(option.optionText); 400 | await page.getByRole("combobox", { name: "Data field" }).last().click(); > 401 | await page.getByRole("option", { name: /option.dataValue/ }).click(); | ^ 402 | } 403 | } 404 | at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:401:66) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:197: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#L401
1) [chromium] › create-flow-with-geospatial.spec.ts:64:7 › Flow creation, publish and preview › Create a flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test ended. Call log: - waiting for getByRole('option', { name: /option.dataValue/ }) at helpers/addComponent.ts:401 399 | await page.getByPlaceholder("Option").last().fill(option.optionText); 400 | await page.getByRole("combobox", { name: "Data field" }).last().click(); > 401 | await page.getByRole("option", { name: /option.dataValue/ }).click(); | ^ 402 | } 403 | } 404 | at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:401:66) at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:197: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
4.79 MB