Library update #959
Annotations
9 errors, 10 warnings, and 2 notices
[chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded:
frontend/tests/functional/detailed/libraries.test.ts#L1
1) [chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ──────────
Test timeout of 150000ms exceeded.
|
[chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded:
frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ──────────
Error: expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The library has been successfully loaded.+/ })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByTestId('toast').filter({ hasText: /The library has been successfully loaded.+/ })
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:19:3
|
[firefox] › functional/detailed/common.test.ts:79:4 › Tests on threats item › Tests on threats item details › user can edit threats item:
frontend/tests/functional/detailed/common.test.ts#L34
1) [firefox] › functional/detailed/common.test.ts:79:4 › Tests on threats item › Tests on threats item details › user can edit threats item
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
|
[firefox] › functional/detailed/common.test.ts:79:4 › Tests on threats item › Tests on threats item details › user can edit threats item:
frontend/tests/utils/page-content.ts#L51
1) [firefox] › functional/detailed/common.test.ts:79:4 › Tests on threats item › Tests on threats item details › user can edit threats item
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('save-button')
- locator resolved to <button type="submit" data-testid="save-button" class="b…>Save</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at utils/page-content.ts:51
49 | await this.form.hasTitle();
50 | await this.form.fill(values);
> 51 | await this.form.saveButton.click();
| ^
52 | await expect(this.form.formTitle).not.toBeVisible();
53 | if (typeof this.name == 'string') {
54 | await this.isToastVisible(
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:51:30)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
|
[firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded:
frontend/tests/functional/detailed/libraries.test.ts#L1
2) [firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ───────────
Test timeout of 150000ms exceeded.
|
[firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded:
frontend/tests/functional/detailed/libraries.test.ts#L21
2) [firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ───────────
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for getByTestId('tab').filter({ hasText: 'Libraries store' })
19 | await librariesPage.importLibrary(nextRemainingLibrary, undefined, 'any');
20 |
> 21 | await librariesPage.tab('Libraries store').click();
| ^
22 | expect(librariesPage.tab('Libraries store').getAttribute('aria-selected')).toBeTruthy();
23 |
24 | previousRemainingLibrary = nextRemainingLibrary;
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:21:46
|
[firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded:
frontend/tests/utils/page-content.ts#L93
2) [firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ───────────
Error: expect(locator).toBeVisible()
Locator: getByRole('row', { name: 'TISAX v6.0.2' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: 'TISAX v6.0.2' }).first()
at utils/page-content.ts:93
91 | await this.tab('Loaded libraries').click();
92 | expect(this.tab('Loaded libraries').getAttribute('aria-selected')).toBeTruthy();
> 93 | expect(this.getRow(ref)).toBeVisible();
| ^
94 | }
95 |
96 | async viewItemDetail(value?: string) {
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:93:28)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:19:3
|
[firefox] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password:
frontend/tests/functional/user-permissions.test.ts#L1
3) [firefox] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
Test timeout of 150000ms exceeded while setting up "populateDatabase".
|
[firefox] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L51
3) [firefox] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for getByTestId('save-button')
- locator resolved to <button type="submit" data-testid="save-button" class="b…>Save</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at utils/page-content.ts:51
49 | await this.form.hasTitle();
50 | await this.form.fill(values);
> 51 | await this.form.saveButton.click();
| ^
52 | await expect(this.form.formTitle).not.toBeVisible();
53 | if (typeof this.name == 'string') {
54 | await this.isToastVisible(
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:51:30)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
|
functional-tests (3.11, chromium)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 4.9m
|
Slow Test:
frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 3.0m
|
Slow Test:
frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 54.8s
|
Slow Test:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 33.9s
|
functional-tests (3.11, chromium)
No files were found with the provided path: ./frontend/tests/chromiumresults/
./frontend/tests/chromiumreports/. No artifacts will be uploaded.
|
functional-tests (3.11, firefox)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
frontend/[firefox] › functional/user-route.test.ts#L1
frontend/[firefox] › functional/user-route.test.ts took 1.1m
|
Slow Test:
frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 38.5s
|
functional-tests (3.11, firefox)
No files were found with the provided path: ./frontend/tests/firefoxresults/
./frontend/tests/firefoxreports/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 flaky
[chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ───────────
2 skipped
228 passed (15.4m)
|
🎭 Playwright Run Summary
3 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/libraries.test.ts:5:1 › every library can be loaded ────────────
[firefox] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
2 skipped
226 passed (22.5m)
|