Refactor Organizations feature in hook #2765
main.yml
on: pull_request
Matrix: check-types / Test
Matrix: lint / Test
Matrix: playwright-test / Test
Matrix: unit-test / Test
Annotations
10 errors, 5 warnings, and 1 notice
tests/organize/campaigns/detail/delete.spec.ts:23:3 › Campaign detail page › allows users to delete a campaign:
integrationTesting/tests/organize/campaigns/detail/delete.spec.ts#L1
1) tests/organize/campaigns/detail/delete.spec.ts:23:3 › Campaign detail page › allows users to delete a campaign
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/campaigns/detail/delete.spec.ts:45:3 › Campaign detail page › shows error snackbar if delete campaign fails:
integrationTesting/tests/organize/campaigns/detail/delete.spec.ts#L1
2) tests/organize/campaigns/detail/delete.spec.ts:45:3 › Campaign detail page › shows error snackbar if delete campaign fails
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/campaigns/detail/edit.spec.ts:26:3 › Campaign detail page › allows users to edit campaign details:
integrationTesting/tests/organize/campaigns/detail/edit.spec.ts#L1
3) tests/organize/campaigns/detail/edit.spec.ts:26:3 › Campaign detail page › allows users to edit campaign details
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/campaigns/detail/edit.spec.ts:67:3 › Campaign detail page › shows error alert if server error on request:
integrationTesting/tests/organize/campaigns/detail/edit.spec.ts#L1
4) tests/organize/campaigns/detail/edit.spec.ts:67:3 › Campaign detail page › shows error alert if server error on request
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/campaigns/list/list.spec.ts:18:3 › Campaigns list page › shows list of campaigns:
integrationTesting/tests/organize/campaigns/list/list.spec.ts#L1
5) tests/organize/campaigns/list/list.spec.ts:18:3 › Campaigns list page › shows list of campaigns
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/journeys/instance-detail/close.spec.ts:37:3 › Journey instance detail page › can close a journey instance by clicking the close button and filling out the outcome form:
integrationTesting/tests/organize/journeys/instance-detail/close.spec.ts#L1
6) tests/organize/journeys/instance-detail/close.spec.ts:37:3 › Journey instance detail page › can close a journey instance by clicking the close button and filling out the outcome form
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
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#L1
7) tests/organize/journeys/instance-detail/close.spec.ts:99:3 › Journey instance detail page › shows error snackbar if adding tags fails
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
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
8) tests/organize/journeys/instance-detail/close.spec.ts:146:3 › Journey instance detail page › shows error snackbar if patching the instance fails
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/journeys/instance-detail/display.spec.ts:18:3 › Journey instance detail page › displays journey instance:
integrationTesting/tests/organize/journeys/instance-detail/display.spec.ts#L1
9) tests/organize/journeys/instance-detail/display.spec.ts:18:3 › Journey instance detail page › displays journey instance
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
tests/organize/journeys/instance-detail/edit-summary.spec.ts:19:3 › Journey instance detail page › lets user edit summary:
integrationTesting/tests/organize/journeys/instance-detail/edit-summary.spec.ts#L1
10) tests/organize/journeys/instance-detail/edit-summary.spec.ts:19:3 › Journey instance detail page › lets user edit summary
TypeError: Failed to parse URL from /api/rpc
at BrowserApiClient.rpc (/home/runner/work/app.zetkin.org/app.zetkin.org/.next/server/chunks/2628.js:77:21)
|
Slow Test:
tests/organize/journeys/instance-detail/sidebar.spec.ts#L1
tests/organize/journeys/instance-detail/sidebar.spec.ts took 2m
|
Slow Test:
tests/organize/journeys/instance-milestones/milestones.spec.ts#L1
tests/organize/journeys/instance-milestones/milestones.spec.ts took 1m
|
Slow Test:
tests/organize/tags/create.spec.ts#L1
tests/organize/tags/create.spec.ts took 49s
|
Slow Test:
tests/organize/journeys/instance-detail/close.spec.ts#L1
tests/organize/journeys/instance-detail/close.spec.ts took 45s
|
Slow Test:
tests/organize/views/detail/delete-column.spec.ts#L1
tests/organize/views/detail/delete-column.spec.ts took 41s
|
🎭 Playwright Run Summary
66 failed
tests/organize/campaigns/detail/delete.spec.ts:23:3 › Campaign detail page › allows users to delete a campaign
tests/organize/campaigns/detail/delete.spec.ts:45:3 › Campaign detail page › shows error snackbar if delete campaign fails
tests/organize/campaigns/detail/edit.spec.ts:26:3 › Campaign detail page › allows users to edit campaign details
tests/organize/campaigns/detail/edit.spec.ts:67:3 › Campaign detail page › shows error alert if server error on request
tests/organize/campaigns/list/list.spec.ts:18:3 › Campaigns list page › shows list of campaigns
tests/organize/journeys/instance-detail/close.spec.ts:37:3 › Journey instance detail page › can close a journey instance by clicking the close button and filling out the outcome form
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/display.spec.ts:18:3 › Journey instance detail page › displays journey instance
tests/organize/journeys/instance-detail/edit-summary.spec.ts:19:3 › Journey instance detail page › lets user edit summary
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-detail/edit-type.spec.ts:167:3 › Journey instance detail page › redirects to url with correct journey id if wrong one is supplied.
tests/organize/journeys/instance-detail/navigate.spec.ts:18:3 › Journey instance page › navigates to Milestones page when clicking tab
tests/organize/journeys/instance-detail/notes.spec.ts:67:3 › Journey instance notes › can make a note
tests/organize/journeys/instance-detail/notes.spec.ts:95:3 › Journey instance notes › can edit a note
tests/organize/journeys/instance-detail/reopen.spec.ts:19:5 › Journey instance details page › lets user reopen a closed instance › by clicking the reopen button on a closed case
tests/organize/journeys/instance-detail/sidebar.spec.ts:21:3 › Journey instance detail page sidebar › shows a list of assigned people
tests/organize/journeys/instance-detail/sidebar.spec.ts:44:3 › Journey instance detail page sidebar › lets user assign new person to the journey instance
tests/organize/journeys/instance-detail/sidebar.spec.ts:109:3 › Journey instance detail page sidebar › lets user remove assigned person from the journey instance
tests/organize/journeys/instance-detail/sidebar.spec.ts:187:3 › Journey instance detail page sidebar › shows a list of subjects.
tests/organize/journeys/instance-detail/sidebar.spec.ts:211:3 › Journey instance detail page sidebar › lets user add new subject to the journey instance.
tests/organize/journeys/instance-detail/sidebar.spec.ts:277:3 › Journey instance detail page sidebar › lets user remove a member from the journey instance.
tests/organize/journeys/instance-detail/sidebar.spec.ts:352:3 › Journey instance detail page sidebar › shows assigned tags
tests/organize/journeys/instance-detail/sidebar.spec.ts:382:3 › Journey instance detail page sidebar › let user assign a tag to the journey instance
tests/organize/journeys/instance-detail/sidebar.spec.ts:427:3 › Journey instance detail page sidebar › lets user unassign a tag from the journey instance
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 ins
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact
Expired
|
500 KB |
|