Add library content type filter #2276
Annotations
3 errors, 6 warnings, and 1 notice
Run tests with browser chromium:
frontend/tests/utils/page-content.ts#L95
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: 'NIST-CSF-1.1' }).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: 'NIST-CSF-1.1' }).first()
at utils/page-content.ts:95
93 | await this.tab('Loaded libraries').click();
94 | expect(this.tab('Loaded libraries').getAttribute('aria-selected')).toBeTruthy();
> 95 | expect(this.getRow(name)).toBeVisible();
| ^
96 | }
97 |
98 | async viewItemDetail(value?: string) {
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:95:29)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:75:3
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:66:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The audit object has been successfully created.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The audit object has been successfully created.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:126:3
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:121:2
|
Run tests with browser chromium:
frontend/tests/functional/user-route.test.ts#L264
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('row', { name: '[email protected]' }).first().getByTestId('tablerow-delete-button')
262 |
263 | await usersPage.goto();
> 264 | await usersPage.deleteItemButton(vars.user.email).click();
| ^
265 | await usersPage.deleteModalConfirmButton.click();
266 | await expect(usersPage.getRow(vars.user.email)).not.toBeVisible();
267 | });
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:264:52
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run tests with browser chromium:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 3.6m
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 2.9m
|
Run tests with browser chromium:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 54.3s
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 25.5s
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 22.9s
|
Run tests with browser chromium
1 flaky
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
2 skipped
229 passed (15.5m)
|
Loading