Skip to content

refactor: added Int Portal restyling to Ext Portal #7294

refactor: added Int Portal restyling to Ext Portal

refactor: added Int Portal restyling to Ext Portal #7294

Triggered via pull request January 7, 2025 17:39
Status Failure
Total duration 16m 1s
Artifacts 1

pull-request.yml

on: pull_request
Check file changes
8s
Check file changes
Build React App
3m 59s
Build React App
Run Integration tests
5m 31s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
7m 5s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
15m 40s
E2E tests
Upsert Vultr Instance
2m 42s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
33s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 5 warnings, and 1 notice
src/@planx/components/ExternalPortal/Editor.test.tsx > adding an external portal: editor.planx.uk/src/@planx/components/ExternalPortal/Editor.test.tsx#L26
Error: expect(element).toHaveValue() Expected the element to have value: Received: flow a ❯ src/@planx/components/ExternalPortal/Editor.test.tsx:26:29
Run React Tests
Process completed with exit code 1.
[chromium] › create-flow.spec.ts:186:3 › Flow creation: e2e/tests/ui-driven/src/helpers/addComponent.ts#L163
1) [chromium] › create-flow.spec.ts:186:3 › Flow creation, publish and preview › Can add an external portal Error: locator.selectOption: Error: Element is not a <select> element Call log: - waiting for getByTestId('flowId') - locator resolved to <div role="status" aria-atomic="true" aria-live="polite" data-testid="flowId" class="MuiAutocomplete-root MuiAutocomplete-fullWidth MuiAutocomplete-hasClearIcon MuiAutocomplete-hasPopupIcon css-1e8m5mu">…</div> - attempting select option action - waiting for element to be visible and enabled at helpers/addComponent.ts:163 161 | await page 162 | .getByTestId("flowId") > 163 | .selectOption( | ^ 164 | `${contextDefaults.team.slug}/${externalPortalServiceProps.slug}`, 165 | ); 166 | break; at createBaseComponent (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:163:10) at createExternalPortal (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/addComponent.ts:489:3) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:226:5
[chromium] › create-flow.spec.ts:186:3 › Flow creation: e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:186:3 › Flow creation, publish and preview › Can add an external portal Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow.spec.ts:186:3 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
1) [chromium] › create-flow.spec.ts:186:3 › Flow creation, publish and preview › Can add an external portal 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.spec.ts:223:5
[chromium] › create-flow.spec.ts:186:3 › Flow creation: e2e/tests/ui-driven/src/create-flow.spec.ts#L1
1) [chromium] › create-flow.spec.ts:186:3 › Flow creation, publish and preview › Can add an external portal Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow.spec.ts:186:3 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
1) [chromium] › create-flow.spec.ts:186:3 › Flow creation, publish and preview › Can add an external portal Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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.spec.ts:223:5
[chromium] › create-flow.spec.ts:236:3 › Flow creation: e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:236:3 › Flow creation, publish and preview › Can preview a published flow with an external portal Test timeout of 45000ms exceeded.
[chromium] › create-flow.spec.ts:236:3 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow.spec.ts:236:3 › Flow creation, publish and preview › Can preview a published flow with an external portal 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.spec.ts:246:5
[chromium] › create-flow.spec.ts:236:3 › Flow creation: e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:236:3 › Flow creation, publish and preview › Can preview a published flow with an external portal Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[chromium] › create-flow.spec.ts:236:3 › Flow creation: e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow.spec.ts:236:3 › Flow creation, publish and preview › Can preview a published flow with an external portal 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.spec.ts:246:5
[chromium] › create-flow.spec.ts:236:3 › Flow creation: e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:236:3 › Flow creation, publish and preview › Can preview a published flow with an external portal Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
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
Slow Test: e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts took 20.1s
🎭 Playwright Run Summary
2 failed [chromium] › create-flow.spec.ts:186:3 › Flow creation, publish and preview › Can add an external portal [chromium] › create-flow.spec.ts:236:3 › Flow creation, publish and preview › Can preview a published flow with an external portal 20 passed (5.5m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
3.56 MB