feat: autocomplete data fields in the editor #7189
Annotations
10 errors, 4 warnings, and 1 notice
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.
|
e2e/tests/ui-driven/src/helpers/addComponent.ts#L383
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 locator('id=data-field-autocomplete').nth(1)
at helpers/addComponent.ts:383
381 | .locator("id=data-field-autocomplete")
382 | .nth(index)
> 383 | .fill(option.dataValue);
| ^
384 | index++;
385 | }
386 | }
at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:383:8)
at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:176: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
|
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.
|
e2e/tests/ui-driven/src/helpers/addComponent.ts#L383
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 locator('id=data-field-autocomplete').nth(1)
at helpers/addComponent.ts:383
381 | .locator("id=data-field-autocomplete")
382 | .nth(index)
> 383 | .fill(option.dataValue);
| ^
384 | index++;
385 | }
386 | }
at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:383:8)
at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:176: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
|
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.
|
e2e/tests/ui-driven/src/helpers/addComponent.ts#L383
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 locator('id=data-field-autocomplete').nth(1)
at helpers/addComponent.ts:383
381 | .locator("id=data-field-autocomplete")
382 | .nth(index)
> 383 | .fill(option.dataValue);
| ^
384 | index++;
385 | }
386 | }
at createComponentOptionsWithDataValues (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:383:8)
at createQuestionWithDataFieldOptions (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:176: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
|
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.
|
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
|
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.
|
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/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L98
Unexpected use of networkidle
|
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L106
Unexpected use of networkidle
|
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L140
Unexpected use of networkidle
|
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)
|
This job failed
Loading