Ca 294 refactor library management #801
Annotations
6 errors, 12 warnings, and 2 notices
[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/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L1
2) [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Test timeout of 150000ms exceeded.
|
[firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L252
2) [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Test timeout of 150000ms exceeded while running "afterEach" hook.
250 | });
251 |
> 252 | test.afterEach('cleanup', async ({ foldersPage, usersPage, page }) => {
| ^
253 | await foldersPage.goto();
254 | await foldersPage.deleteItemButton(vars.folderName).click();
255 | await foldersPage.deleteModalConfirmButton.click();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:252:6
|
[firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/utils/sidebar.ts#L57
2) [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: page.waitForURL: Test timeout of 150000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/assets" until "load"
navigated to "http://localhost:4173/folders"
navigated to "http://localhost:4173/folders"
navigated to "http://localhost:4173/users"
navigated to "http://localhost:4173/users"
============================================================
at utils/sidebar.ts:57
55 | await expect(this.page.getByTestId('accordion-item-' + tab.substring(1))).toBeVisible();
56 | await this.page.getByTestId('accordion-item-' + tab.substring(1)).click();
> 57 | waitForURL ? await this.page.waitForURL(tab) : null;
| ^
58 | }
59 | }
60 |
at SideBar.click (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/sidebar.ts:57:32)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:51:3
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:50:2
|
[firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L259
2) [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for getByRole('row', { name: '[email protected]' }).first().getByTestId('tablerow-delete-button')
257 |
258 | await usersPage.goto();
> 259 | await usersPage.deleteItemButton(vars.user.email).click();
| ^
260 | await usersPage.deleteModalConfirmButton.click();
261 | await expect(usersPage.getRow(vars.user.email)).not.toBeVisible();
262 | });
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:259:52
|
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.4m
|
Slow Test:
frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 3.1m
|
Slow Test:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 2.0m
|
Slow Test:
frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 50.7s
|
Slow Test:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 30.6s
|
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-permissions.test.ts#L1
frontend/[firefox] › functional/user-permissions.test.ts took 5.8m
|
Slow Test:
frontend/[firefox] › functional/detailed/libraries.test.ts#L1
frontend/[firefox] › functional/detailed/libraries.test.ts took 2.1m
|
Slow Test:
frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 34.3s
|
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
2 skipped
229 passed (13.0m)
|
🎭 Playwright Run Summary
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/user-route.test.ts:6:1 › user usual routine actions are working correctly
2 skipped
227 passed (22.6m)
|