Skip to content

Avoid SSR fetch

Avoid SSR fetch #3128

Triggered via pull request March 25, 2024 17:58
Status Failure
Total duration 7m 11s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review: e2e-tests/tests/plan-merge.test.ts#L1
1) [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ─────────────── Test timeout of 30000ms exceeded.
[e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review: e2e-tests/tests/plan-merge.test.ts#L80
1) [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ─────────────── Error: page.waitForURL: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation to "http://localhost:3000/plans/*/merge" until "load" navigated to "http://localhost:3000/plans" navigated to "http://localhost:3000/plans" navigated to "http://localhost:3000/models" navigated to "http://localhost:3000/models" ============================================================ 78 | await page.getByRole('button', { name: '1 incoming, 0 outgoing' }).click(); 79 | await page.getByRole('button', { name: 'Review' }).click(); > 80 | await page.waitForURL(`${baseURL}/plans/*/merge`); | ^ 81 | await page.waitForTimeout(250); 82 | }); 83 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-merge.test.ts:80:16
[e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review: e2e-tests/tests/plan-merge.test.ts#L1
1) [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review: e2e-tests/tests/plan-merge.test.ts#L80
1) [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation to "http://localhost:3000/plans/*/merge" until "load" navigated to "http://localhost:3000/plans" navigated to "http://localhost:3000/plans" navigated to "http://localhost:3000/models" navigated to "http://localhost:3000/models" ============================================================ 78 | await page.getByRole('button', { name: '1 incoming, 0 outgoing' }).click(); 79 | await page.getByRole('button', { name: 'Review' }).click(); > 80 | await page.waitForURL(`${baseURL}/plans/*/merge`); | ^ 81 | await page.waitForTimeout(250); 82 | }); 83 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-merge.test.ts:80:16
[e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review: e2e-tests/tests/plan-merge.test.ts#L1
1) [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review: e2e-tests/tests/plan-merge.test.ts#L80
1) [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation to "http://localhost:3000/plans/*/merge" until "load" navigated to "http://localhost:3000/plans" navigated to "http://localhost:3000/plans" navigated to "http://localhost:3000/models" navigated to "http://localhost:3000/models" ============================================================ 78 | await page.getByRole('button', { name: '1 incoming, 0 outgoing' }).click(); 79 | await page.getByRole('button', { name: 'Review' }).click(); > 80 | await page.waitForURL(`${baseURL}/plans/*/merge`); | ^ 81 | await page.waitForTimeout(250); 82 | }); 83 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-merge.test.ts:80:16
[e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity: e2e-tests/tests/plan.test.ts#L140
2) [e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('[data-component-name="ActivityFormPanel"]').getByText('No Activity Selected') 138 | // Switch to a new branch and ensure no activity is selected 139 | await plan.createBranch(); > 140 | await expect(plan.panelActivityForm.getByText('No Activity Selected')).toBeVisible(); | ^ 141 | 142 | // Re-select the activity 143 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan.test.ts:140:76
[e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity: e2e-tests/tests/plan.test.ts#L140
2) [e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('[data-component-name="ActivityFormPanel"]').getByText('No Activity Selected') 138 | // Switch to a new branch and ensure no activity is selected 139 | await plan.createBranch(); > 140 | await expect(plan.panelActivityForm.getByText('No Activity Selected')).toBeVisible(); | ^ 141 | 142 | // Re-select the activity 143 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan.test.ts:140:76
[e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity: e2e-tests/tests/plan.test.ts#L140
2) [e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('[data-component-name="ActivityFormPanel"]').getByText('No Activity Selected') 138 | // Switch to a new branch and ensure no activity is selected 139 | await plan.createBranch(); > 140 | await expect(plan.panelActivityForm.getByText('No Activity Selected')).toBeVisible(); | ^ 141 | 142 | // Re-select the activity 143 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan.test.ts:140:76
test
Process completed with exit code 1.
Slow Test: [e2e tests] › tests/plan-merge.test.ts#L1
[e2e tests] › tests/plan-merge.test.ts took 1.6m
🎭 Playwright Run Summary
2 failed [e2e tests] › tests/plan-merge.test.ts:77:3 › Plan Merge › Start a merge review ──────────────── [e2e tests] › tests/plan.test.ts:132:3 › Plan › Changing to a new plan should clear the selected activity 3 skipped 97 passed (4.1m)

Artifacts

Produced during runtime
Name Size
Test Results Expired
25.8 MB