Issue 1542/refactor journeys #2857
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
main.yml
on: pull_request
Matrix: check-types / Test
Matrix: lint / Test
Matrix: playwright-test / Test
Matrix: unit-test / Test
Annotations
11 errors, 5 warnings, and 1 notice
unit-test / Test (18, ubuntu-latest)
Process completed with exit code 1.
|
tests/organize/journeys/instance-detail/close.spec.ts:99:3 › Journey instance detail page › shows error snackbar if adding tags fails:
integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts#L143
1) tests/organize/journeys/instance-detail/close.spec.ts:99:3 › Journey instance detail page › shows error snackbar if adding tags fails
Error: expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0
141 | ]);
142 |
> 143 | expect(await page.locator('data-testid=Snackbar-error').count()).toEqual(1);
| ^
144 | });
145 |
146 | test('shows error snackbar if patching the instance fails', async ({
at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts:143:70
|
tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails:
integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts#L1
2) tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails
Test timeout of 30000ms exceeded.
|
tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails:
integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts#L197
2) tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails
locator.waitFor: Target closed
=========================== logs ===========================
waiting for selector "data-testid=Snackbar-error" to be visible
============================================================
195 | // Show error
196 | const snackbar = page.locator('data-testid=Snackbar-error');
> 197 | await snackbar.waitFor();
| ^
198 |
199 | expect(await snackbar.count()).toEqual(1);
200 | });
at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts:197:20
|
tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails:
integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts#L1
2) tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails
Pending operations:
- locator.waitFor at integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts:197:20
|
tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.:
integrationTesting/tests/organize/journeys/instance-detail/edit-summary.spec.ts#L1
3) tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.
Test timeout of 30000ms exceeded.
|
tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.:
integrationTesting/tests/organize/journeys/instance-detail/edit-summary.spec.ts#L97
3) tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.
locator.waitFor: Target closed
=========================== logs ===========================
waiting for selector "data-testid=Snackbar-error" to be visible
============================================================
95 | await page.click('data-testid=SubmitCancelButtons-submitButton');
96 |
> 97 | await page.locator('data-testid=Snackbar-error').waitFor();
| ^
98 |
99 | expect(await page.locator('data-testid=Snackbar-error').count()).toEqual(1);
100 | });
at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/journeys/instance-detail/edit-summary.spec.ts:97:54
|
tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.:
integrationTesting/tests/organize/journeys/instance-detail/edit-summary.spec.ts#L1
3) tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.
Pending operations:
- locator.waitFor at integrationTesting/tests/organize/journeys/instance-detail/edit-summary.spec.ts:97:54
|
tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.:
integrationTesting/tests/organize/journeys/instance-detail/edit-type.spec.ts#L1
4) tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.
Test timeout of 30000ms exceeded.
|
tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.:
integrationTesting/tests/organize/journeys/instance-detail/edit-type.spec.ts#L97
4) tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.
locator.waitFor: Target closed
=========================== logs ===========================
waiting for selector "data-testid=Snackbar-success" to be visible
============================================================
95 | ]);
96 |
> 97 | await page.locator('data-testid=Snackbar-success').waitFor();
| ^
98 |
99 | //Expect the id to be the MarxistJourney id.
100 | expect(patchReqLog<{ journey_id: number }>()[0].data?.journey_id).toBe(
at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/journeys/instance-detail/edit-type.spec.ts:97:56
|
tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.:
integrationTesting/tests/organize/journeys/instance-detail/edit-type.spec.ts#L1
4) tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.
Pending operations:
- locator.waitFor at integrationTesting/tests/organize/journeys/instance-detail/edit-type.spec.ts:97:56
|
Slow Test:
tests/organize/journeys/instance-list/create.spec.ts#L1
tests/organize/journeys/instance-list/create.spec.ts took 2m
|
Slow Test:
tests/organize/journeys/instance-detail/edit-type.spec.ts#L1
tests/organize/journeys/instance-detail/edit-type.spec.ts took 1m
|
Slow Test:
tests/organize/journeys/instance-milestones/milestones.spec.ts#L1
tests/organize/journeys/instance-milestones/milestones.spec.ts took 54s
|
Slow Test:
tests/organize/journeys/instance-detail/close.spec.ts#L1
tests/organize/journeys/instance-detail/close.spec.ts took 53s
|
Slow Test:
tests/organize/journeys/instance-detail/edit-summary.spec.ts#L1
tests/organize/journeys/instance-detail/edit-summary.spec.ts took 34s
|
🎭 Playwright Run Summary
9 failed
tests/organize/journeys/instance-detail/close.spec.ts:99:3 › Journey instance detail page › shows error snackbar if adding tags fails
tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails
tests/organize/journeys/instance-detail/edit-summary.spec.ts:60:3 › Journey instance detail page › shows error snackbar if error patching with the new summary.
tests/organize/journeys/instance-detail/edit-type.spec.ts:19:3 › Journey instance detail page › lets user edit the type of a journey instance.
tests/organize/journeys/instance-detail/edit-type.spec.ts:116:3 › Journey instance detail page › shows error snackbar if request is wrong
tests/organize/journeys/instance-list/create.spec.ts:22:3 › Creating a journey instance from journey instance page › shows new page with correct labels
tests/organize/journeys/instance-list/create.spec.ts:43:3 › Creating a journey instance from journey instance page › creates instance without subjects, assignees, or tags
tests/organize/journeys/instance-list/create.spec.ts:70:3 › Creating a journey instance from journey instance page › creates instance with subjects, assignees, and tags
tests/organize/journeys/instance-milestones/milestones.spec.ts:243:3 › Journey instance page Milestones tab › shows error snackbar if error making request
7 skipped
73 passed (5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact
Expired
|
512 KB |
|