[WIP] feat: add share button for flow links #5335
pull-request.yml
on: pull_request
Check file changes
6s
Run Integration tests
5m 9s
Run API Tests
0s
Run React Tests
5m 29s
Generate Hasura Change Summary
0s
E2E tests
19m 7s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
32s
Annotations
10 errors, 8 warnings, and 1 notice
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L179
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Open published service' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('link', { name: 'Open published service' })
177 | name: "Open published service",
178 | });
> 179 | await expect(previewLink).toBeVisible();
| ^
180 | });
181 |
182 | test("Cannot preview an offline flow", async ({
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:179:31
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L173
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'CHECK FOR CHANGES TO PUBLISH' })
171 | await page.goto(`/${context.team.slug}/${serviceProps.slug}`);
172 |
> 173 | page.getByRole("button", { name: "CHECK FOR CHANGES TO PUBLISH" }).click();
| ^
174 | page.getByRole("button", { name: "PUBLISH", exact: true }).click();
175 |
176 | const previewLink = page.getByRole("link", {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:173:72
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L173
1) [chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'CHECK FOR CHANGES TO PUBLISH' })
171 | await page.goto(`/${context.team.slug}/${serviceProps.slug}`);
172 |
> 173 | page.getByRole("button", { name: "CHECK FOR CHANGES TO PUBLISH" }).click();
| ^
174 | page.getByRole("button", { name: "PUBLISH", exact: true }).click();
175 |
176 | const previewLink = page.getByRole("link", {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:173:72
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L198
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow
Error: expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Offline', level: 1 })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('heading', { name: 'Offline', level: 1 })
196 | await expect(
197 | page.getByRole("heading", { level: 1, name: "Offline" }),
> 198 | ).toBeVisible();
| ^
199 | });
200 |
201 | test("Turn a flow online", async ({ browser }) => {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:198:7
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L1
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow:
e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts#L198
2) [chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Offline', level: 1 })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 45000ms
- waiting for getByRole('heading', { name: 'Offline', level: 1 })
196 | await expect(
197 | page.getByRole("heading", { level: 1, name: "Offline" }),
> 198 | ).toBeVisible();
| ^
199 | });
200 |
201 | test("Turn a flow online", async ({ browser }) => {
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts:198:7
|
Check file changes
The following actions uses Node.js version which is deprecated and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Integration tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run React Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L93
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L87
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L96
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/create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow/create-flow.spec.ts took 9.1m
|
🎭 Playwright Run Summary
4 failed
[chromium] › create-flow/create-flow.spec.ts:165:7 › Navigation › Publish a flow ───────────────
[chromium] › create-flow/create-flow.spec.ts:182:7 › Navigation › Cannot preview an offline flow
[chromium] › create-flow/create-flow.spec.ts:201:7 › Navigation › Turn a flow online ───────────
[chromium] › create-flow/create-flow.spec.ts:228:7 › Navigation › Can preview a published flow ─
15 passed (10.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
396 KB |
|