Ca 294 refactor library management #799
Annotations
11 errors, 2 warnings, and 1 notice
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ })
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.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:88:14)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:44:4)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
|
Run tests with browser chromium:
frontend/tests/functional/detailed/common.test.ts#L34
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 50000ms exceeded while running "beforeEach" hook.
32 |
33 | test.describe(`Tests on ${items[key].displayName.toLowerCase()} item details`, () => {
> 34 | test.beforeEach(async ({ logedPage, pages, page }, testInfo) => {
| ^
35 | await pages[key].goto();
36 | await expect(page).toHaveURL(pages[key].url);
37 |
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:34:9
|
Run tests with browser chromium:
frontend/tests/utils/page-content.ts#L82
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('tab').filter({ hasText: 'Imported libraries' })
at utils/page-content.ts:82
80 | // If the library is not visible, it might have already been imported
81 | if (await this.getRow(ref).isHidden()) {
> 82 | await this.tab('Imported libraries').click();
| ^
83 | expect(this.tab('Imported libraries').getAttribute('aria-selected')).toBeTruthy();
84 | expect(this.getRow(ref)).toBeVisible();
85 | return;
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:82:41)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:44:4)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L61
2) [chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ──────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ })
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.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:88:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:12:3
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L61
2) [chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ })
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.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:88:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:12:3
|
Run tests with browser chromium:
frontend/tests/functional/user-permissions.test.ts#L1
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
Test timeout of 150000ms exceeded while setting up "populateDatabase".
|
Run tests with browser chromium:
frontend/tests/utils/page-content.ts#L82
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for getByTestId('tab').filter({ hasText: 'Imported libraries' })
at utils/page-content.ts:82
80 | // If the library is not visible, it might have already been imported
81 | if (await this.getRow(ref).isHidden()) {
> 82 | await this.tab('Imported libraries').click();
| ^
83 | expect(this.tab('Imported libraries').getAttribute('aria-selected')).toBeTruthy();
84 | expect(this.getRow(ref)).toBeVisible();
85 | return;
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:82:41)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:44:4)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
|
Run tests with browser chromium:
frontend/tests/functional/user-permissions.test.ts#L1
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 150000ms exceeded while setting up "populateDatabase".
|
Run tests with browser chromium:
frontend/tests/utils/page-content.ts#L82
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for getByTestId('tab').filter({ hasText: 'Imported libraries' })
at utils/page-content.ts:82
80 | // If the library is not visible, it might have already been imported
81 | if (await this.getRow(ref).isHidden()) {
> 82 | await this.tab('Imported libraries').click();
| ^
83 | expect(this.tab('Imported libraries').getAttribute('aria-selected')).toBeTruthy();
84 | expect(this.getRow(ref)).toBeVisible();
85 | return;
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:82:41)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:44:4)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
|
Run tests with browser chromium:
frontend/tests/functional/user-permissions.test.ts#L1
4) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password
Test timeout of 150000ms exceeded while setting up "populateDatabase".
|
Run tests with browser chromium:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 21.6s
|
Run actions/upload-artifact@v4
No files were found with the provided path: ./frontend/tests/chromiumresults/
./frontend/tests/chromiumreports/. No artifacts will be uploaded.
|
Run tests with browser chromium
7 failed
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
[chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ───────
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:28:3 › Approver user has the right permissions › user can set his password
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
205 skipped
19 passed (35.6m)
|
Loading