Library update #959
Annotations
7 errors, 4 warnings, and 1 notice
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
|
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
|
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.
|
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
|
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
|
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".
|
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)
|
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/.
|
frontend/[firefox] › functional/user-route.test.ts#L1
frontend/[firefox] › functional/user-route.test.ts took 1.1m
|
frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 38.5s
|
|
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)
|
This job succeeded
Loading