Ca 294 refactor library management #843
Annotations
11 errors, 3 warnings, and 1 notice
|
Run tests with browser firefox:
frontend/tests/functional/detailed/common.test.ts#L34
1) [firefox] › functional/detailed/common.test.ts:79:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item
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 firefox:
frontend/tests/utils/page-content.ts#L87
1) [firefox] › functional/detailed/common.test.ts:79:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByRole('row', { name: 'doc-pol' }).filter({ has: getByText('English').first() }).first().getByTestId('tablerow-import-button')
at utils/page-content.ts:87
85 | return;
86 | }
> 87 | await this.importItemButton(ref, language === 'any' ? undefined : language).click();
| ^
88 | await this.isToastVisible(`The library has been successfully loaded.+`, undefined, {
89 | timeout: 15000
90 | });
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:87:79)
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 firefox:
frontend/tests/functional/detailed/libraries.test.ts#L26
2) [firefox] › functional/detailed/libraries.test.ts:4:1 › every libraries can be loaded ─────────
Error: An error occured while importing library: OWASP-ASVS-4.0.3
expect(received).not.toEqual(expected) // deep equality
Expected: not "OWASP-ASVS-4.0.3"
24 | previousRemainingLibrary,
25 | 'An error occured while importing library: ' + previousRemainingLibrary
> 26 | ).not.toEqual(nextRemainingLibrary);
| ^
27 | }
28 | });
29 |
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:26:9
|
Run tests with browser firefox:
frontend/tests/functional/detailed/libraries.test.ts#L1
2) [firefox] › functional/detailed/libraries.test.ts:4:1 › every libraries can be loaded ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 150000ms exceeded.
|
Run tests with browser firefox:
frontend/tests/utils/page-content.ts#L87
2) [firefox] › functional/detailed/libraries.test.ts:4:1 › every libraries can be loaded ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for getByRole('row', { name: 'OWASP-ASVS-4.0.3' }).first().getByTestId('tablerow-import-button')
at utils/page-content.ts:87
85 | return;
86 | }
> 87 | await this.importItemButton(ref, language === 'any' ? undefined : language).click();
| ^
88 | await this.isToastVisible(`The library has been successfully loaded.+`, undefined, {
89 | timeout: 15000
90 | });
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:87:79)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:12:3
|
Run tests with browser firefox:
frontend/tests/functional/user-permissions.test.ts#L1
3) [firefox] › 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 firefox:
frontend/tests/utils/page-content.ts#L87
3) [firefox] › 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 getByRole('row', { name: 'doc-pol' }).filter({ has: getByText('English').first() }).first().getByTestId('tablerow-import-button')
at utils/page-content.ts:87
85 | return;
86 | }
> 87 | await this.importItemButton(ref, language === 'any' ? undefined : language).click();
| ^
88 | await this.isToastVisible(`The library has been successfully loaded.+`, undefined, {
89 | timeout: 15000
90 | });
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:87:79)
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 firefox:
frontend/tests/functional/user-permissions.test.ts#L1
3) [firefox] › 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 firefox:
frontend/tests/utils/page-content.ts#L87
3) [firefox] › 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 getByRole('row', { name: 'doc-pol' }).filter({ has: getByText('English').first() }).first().getByTestId('tablerow-import-button')
at utils/page-content.ts:87
85 | return;
86 | }
> 87 | await this.importItemButton(ref, language === 'any' ? undefined : language).click();
| ^
88 | await this.isToastVisible(`The library has been successfully loaded.+`, undefined, {
89 | timeout: 15000
90 | });
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:87:79)
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 firefox:
frontend/tests/functional/user-permissions.test.ts#L1
4) [firefox] › 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 firefox:
frontend/[firefox] › functional/user-route.test.ts#L1
frontend/[firefox] › functional/user-route.test.ts took 48.7s
|
Run tests with browser firefox:
frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 23.5s
|
Run actions/upload-artifact@v4
No files were found with the provided path: ./frontend/tests/firefoxresults/
./frontend/tests/firefoxreports/. No artifacts will be uploaded.
|
Run tests with browser firefox
6 failed
[firefox] › functional/detailed/common.test.ts:79:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item
[firefox] › functional/detailed/libraries.test.ts:4:1 › every libraries can be loaded ──────────
[firefox] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
[firefox] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password
[firefox] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
[firefox] › functional/user-permissions.test.ts:28:3 › Approver user has the right permissions › user can set his password
2 flaky
[firefox] › functional/detailed/common.test.ts:79:4 › Tests on threats item › Tests on threats item details › user can edit threats item
[firefox] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly
204 skipped
19 passed (31.1m)
|
Loading