Skip to content

Issue 1542/refactor tags react query #2852

Issue 1542/refactor tags react query

Issue 1542/refactor tags react query #2852

Triggered via pull request October 23, 2023 15:12
Status Failure
Total duration 7m 19s
Artifacts 1
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
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 1 notice
tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails: integrationTesting/tests/organize/tags/create.spec.ts#L1
1) tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails Test timeout of 30000ms exceeded.
tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails: integrationTesting/tests/organize/tags/create.spec.ts#L152
1) tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails locator.waitFor: Target closed =========================== logs =========================== waiting for selector "data-testid=Snackbar-error" to be visible ============================================================ 150 | // Show error 151 | const snackbar = page.locator('data-testid=Snackbar-error'); > 152 | await snackbar.waitFor(); | ^ 153 | 154 | expect(await snackbar.count()).toEqual(1); 155 | }); at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/tags/create.spec.ts:152:20
tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails: integrationTesting/tests/organize/tags/create.spec.ts#L1
1) tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails Pending operations: - locator.waitFor at integrationTesting/tests/organize/tags/create.spec.ts:152:20
tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails: integrationTesting/tests/organize/tags/create.spec.ts#L1
2) tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails Test timeout of 30000ms exceeded.
tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails: integrationTesting/tests/organize/tags/create.spec.ts#L174
2) tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails locator.waitFor: Target closed =========================== logs =========================== waiting for selector "data-testid=Snackbar-error" to be visible ============================================================ 172 | // Show error 173 | const snackbar = page.locator('data-testid=Snackbar-error'); > 174 | await snackbar.waitFor(); | ^ 175 | 176 | expect(await snackbar.count()).toEqual(1); 177 | }); at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/tags/create.spec.ts:174:20
tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails: integrationTesting/tests/organize/tags/create.spec.ts#L1
2) tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails Pending operations: - locator.waitFor at integrationTesting/tests/organize/tags/create.spec.ts:174:20
tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails: integrationTesting/tests/organize/tags/edit.spec.ts#L1
3) tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails Test timeout of 30000ms exceeded.
tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails: integrationTesting/tests/organize/tags/edit.spec.ts#L93
3) tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails locator.waitFor: Target closed =========================== logs =========================== waiting for selector "data-testid=Snackbar-error" to be visible ============================================================ 91 | 92 | const snackbar = page.locator('data-testid=Snackbar-error'); > 93 | await snackbar.waitFor(); | ^ 94 | 95 | expect(await snackbar.count()).toEqual(1); 96 | }); at /home/runner/work/app.zetkin.org/app.zetkin.org/integrationTesting/tests/organize/tags/edit.spec.ts:93:20
tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails: integrationTesting/tests/organize/tags/edit.spec.ts#L1
3) tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails Pending operations: - locator.waitFor at integrationTesting/tests/organize/tags/edit.spec.ts:93:20
playwright-test / Test (18, ubuntu-latest)
Process completed with exit code 1.
Slow Test: tests/organize/tags/create.spec.ts#L1
tests/organize/tags/create.spec.ts took 1m
Slow Test: tests/organize/journeys/instance-detail/sidebar.spec.ts#L1
tests/organize/journeys/instance-detail/sidebar.spec.ts took 43s
Slow Test: tests/organize/tags/edit.spec.ts#L1
tests/organize/tags/edit.spec.ts took 36s
Slow Test: tests/organize/journeys/instance-detail/close.spec.ts#L1
tests/organize/journeys/instance-detail/close.spec.ts took 34s
Slow Test: tests/organize/journeys/instance-milestones/milestones.spec.ts#L1
tests/organize/journeys/instance-milestones/milestones.spec.ts took 25s
🎭 Playwright Run Summary
3 failed tests/organize/tags/create.spec.ts:129:3 › Tag manager › shows error snackbar when creating group fails tests/organize/tags/create.spec.ts:157:3 › Tag manager › shows error snackbar when creating a tag fails tests/organize/tags/edit.spec.ts:66:3 › Tag manager › shows error snackbar when editing tag fails 7 skipped 81 passed (6m)

Artifacts

Produced during runtime
Name Size
artifact Expired
514 KB