Skip to content

feat: E2E test coverage for Filters #6987

feat: E2E test coverage for Filters

feat: E2E test coverage for Filters #6987

Triggered via pull request December 3, 2024 13:18
Status Failure
Total duration 14m 30s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
4s
Check file changes
Build React App
9s
Build React App
Run Integration tests
4m 53s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
0s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
14m 12s
E2E tests
Upsert Vultr Instance
9s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
0s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 5 warnings, and 1 notice
Upsert Vultr Instance
Process completed with exit code 1.
[chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L61
1) [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow Error: expect(locator).toContainText(expected) Locator: locator('.card') - Expected - 1 + Received + 5 Array [ "Find property", "an internal portalEdit Portal", - "Filter - Planning permissionImmuneMissing informationPermission neededPrior approvalNoticePermitted developmentNot developmentNo flag result", + "Filter - Material change of useMaterial change of useThis is the material change of use filterNot material change of useNo flag result", + "Material change of useThis is the material change of use filter", + "This is the material change of use filter", + "Not material change of use", + "No flag result", "Upload and label", "Confirm your location plan", "Planning constraints", ] Call log: - expect.toContainText with timeout 45000ms - waiting for locator('.card') 42 × locator resolved to 10 elements 59 | // await editor.createFileUpload(); 60 | > 61 | await expect(editor.nodeList).toContainText([ | ^ 62 | "Find property", 63 | "an internal portalEdit Portal", 64 | "Filter - Planning permissionImmuneMissing informationPermission neededPrior approvalNoticePermitted developmentNot developmentNo flag result", at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:61:35
[chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L61
1) [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: locator('.card') - Expected - 1 + Received + 5 Array [ "Find property", "an internal portalEdit Portal", - "Filter - Planning permissionImmuneMissing informationPermission neededPrior approvalNoticePermitted developmentNot developmentNo flag result", + "Filter - Material change of useMaterial change of useThis is the material change of use filterNot material change of useNo flag result", + "Material change of useThis is the material change of use filter", + "This is the material change of use filter", + "Not material change of use", + "No flag result", "Upload and label", "Confirm your location plan", "Planning constraints", ] Call log: - expect.toContainText with timeout 45000ms - waiting for locator('.card') 42 × locator resolved to 10 elements 59 | // await editor.createFileUpload(); 60 | > 61 | await expect(editor.nodeList).toContainText([ | ^ 62 | "Find property", 63 | "an internal portalEdit Portal", 64 | "Filter - Planning permissionImmuneMissing informationPermission neededPrior approvalNoticePermitted developmentNot developmentNo flag result", at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:61:35
[chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
1) [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L61
1) [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: locator('.card') - Expected - 1 + Received + 5 Array [ "Find property", "an internal portalEdit Portal", - "Filter - Planning permissionImmuneMissing informationPermission neededPrior approvalNoticePermitted developmentNot developmentNo flag result", + "Filter - Material change of useMaterial change of useThis is the material change of use filterNot material change of useNo flag result", + "Material change of useThis is the material change of use filter", + "This is the material change of use filter", + "Not material change of use", + "No flag result", "Upload and label", "Confirm your location plan", "Planning constraints", ] Call log: - expect.toContainText with timeout 45000ms - waiting for locator('.card') 42 × locator resolved to 10 elements 59 | // await editor.createFileUpload(); 60 | > 61 | await expect(editor.nodeList).toContainText([ | ^ 62 | "Find property", 63 | "an internal portalEdit Portal", 64 | "Filter - Planning permissionImmuneMissing informationPermission neededPrior approvalNoticePermitted developmentNot developmentNo flag result", at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:61:35
[chromium] › create-flow-with-geospatial.spec.ts:72:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
2) [chromium] › create-flow-with-geospatial.spec.ts:72: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:72:7 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow-with-geospatial.spec.ts:72: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:80:5
[chromium] › create-flow-with-geospatial.spec.ts:72:7 › Flow creation: e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts#L1
2) [chromium] › create-flow-with-geospatial.spec.ts:72: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:72:7 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow-with-geospatial.spec.ts:72: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:80: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#L89
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#L131
Unexpected use of networkidle
Slow Test: e2e/tests/ui-driven/[chromium] › create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts took 32.8s
🎭 Playwright Run Summary
2 failed [chromium] › create-flow-with-geospatial.spec.ts:37:7 › Flow creation, publish and preview › Create a flow [chromium] › create-flow-with-geospatial.spec.ts:72:7 › Flow creation, publish and preview › Publish and preview flow with geospatial components 20 passed (5.7m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
7.15 MB