feat(wip): Do not allow template flows to be deleted / archived #7845
pull-request.yml
on: pull_request
Check file changes
6s
Run Integration tests
5m 7s
Run API Tests
0s
Run React Tests
8m 2s
Generate Hasura Change Summary
6s
E2E tests
19m 18s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
33s
Annotations
10 errors, 6 warnings, and 1 notice
[chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation:
e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L25
1) [chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation, publish and preview › Publish and preview flow with geospatial components
Error: Timed out 45000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Service settings updated successfully')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByText('Service settings updated successfully')
at helpers/navigateAndPublish.ts:25
23 | await expect(
24 | page.getByText("Service settings updated successfully"),
> 25 | ).toBeVisible();
| ^
26 | };
27 |
at turnServiceOnline (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts:25:5)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:128:11
|
[chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation:
e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
1) [chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation, publish and preview › Publish and preview flow with geospatial components
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 45000ms waiting for 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:119:5
|
[chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation:
e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
1) [chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation, publish and preview › Publish and preview flow with geospatial components
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 45000ms waiting for 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:119:5
|
[chromium] › create-flow.spec.ts:136:3 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:136:3 › Flow creation:
e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L25
2) [chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
Error: expect(locator).toBeVisible()
Locator: getByText('Service settings updated successfully')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByText('Service settings updated successfully')
at helpers/navigateAndPublish.ts:25
23 | await expect(
24 | page.getByText("Service settings updated successfully"),
> 25 | ).toBeVisible();
| ^
26 | };
27 |
at turnServiceOnline (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts:25:5)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:143:11
|
[chromium] › create-flow.spec.ts:136:3 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:136:3 › Flow creation:
e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
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:142:5
|
[chromium] › create-flow.spec.ts:136:3 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
2) [chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow.spec.ts:136:3 › Flow creation:
e2e/tests/ui-driven/src/helpers/navigateAndPublish.ts#L7
2) [chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
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:142:5
|
[chromium] › create-flow.spec.ts:154:3 › Flow creation:
e2e/tests/ui-driven/src/create-flow.spec.ts#L1
3) [chromium] › create-flow.spec.ts:154:3 › Flow creation, publish and preview › Can add an external portal
Test timeout of 45000ms exceeded.
|
Upsert Vultr Instance
Failed to download action 'https://api.github.com/repos/theopensystemslab/vultr-action/tarball/f5670411e1c58ef2ad7d4a2f3f5ea35fb2128ece'. Error: Response status code does not indicate success: 503 (Service Unavailable). 2400:315897:515C1D9:539CAF7:67A488E1
|
Upsert Vultr Instance
Back off 18.959 seconds before retry.
|
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
4 failed
[chromium] › create-flow-with-geospatial.spec.ts:109:3 › Flow creation, publish and preview › Publish and preview flow with geospatial components
[chromium] › create-flow.spec.ts:136:3 › Flow creation, publish and preview › Turn a flow online
[chromium] › create-flow.spec.ts:154:3 › Flow creation, publish and preview › Can add an external portal
[chromium] › create-flow.spec.ts:204:3 › Flow creation, publish and preview › Can preview a published flow with an external portal
16 passed (10.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
3.79 MB |
|