Skip to content

Ca 294 refactor library management #680

Ca 294 refactor library management

Ca 294 refactor library management #680

Triggered via pull request May 3, 2024 14:19
Status Failure
Total duration 1h 2m 39s
Artifacts 1

functional-tests.yml

on: pull_request
Matrix: functional-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
functional-tests (3.11)
Timed out waiting 3600s for the test suite to run
functional-tests (3.11)
Timed out waiting 3600s for the teardown for test suite to run
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L1
1) [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".
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/utils/page-content.ts#L80
1) [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 getByRole('row', { name: 'doc-pol' }).filter({ has: getByText('English').first() }).first().getByTestId('tablerow-import-button') at utils/page-content.ts:80 78 | } 79 | } > 80 | await this.importItemButton(ref, language === 'any' ? undefined : language).click(); | ^ 81 | await this.isToastVisible(`The library object has been successfully imported.+`, undefined, { 82 | timeout: 15000 83 | }); at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:80: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)
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L214
1) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password "afterAll" hook timeout of 50000ms exceeded. 212 | }); 213 | > 214 | test.afterAll('cleanup', async ({ browser }) => { | ^ 215 | const page = await browser.newPage(); 216 | const loginPage = new LoginPage(page); 217 | const usersPage = new PageContent(page, '/users', 'Users'); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:214:8
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L214
1) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password "afterAll" hook timeout of 50000ms exceeded. 212 | }); 213 | > 214 | test.afterAll('cleanup', async ({ browser }) => { | ^ 215 | const page = await browser.newPage(); 216 | const loginPage = new LoginPage(page); 217 | const usersPage = new PageContent(page, '/users', 'Users'); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:214:8
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L223
1) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Error: locator.click: Test ended. Call log: - waiting for getByRole('row', { name: '2-Test domain-6f27' }).first().getByTestId('tablerow-delete-button') 221 | await loginPage.login(); 222 | await foldersPage.goto(); > 223 | await foldersPage.deleteItemButton(vars.folderName).click(); | ^ 224 | await foldersPage.deleteModalConfirmButton.click(); 225 | await expect(foldersPage.getRow(vars.folderName)).not.toBeVisible(); 226 | await usersPage.goto(); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:223:56
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L1
1) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Error: Test ended.
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L1
1) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Error: ENOENT: no such file or directory, open '/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/results/.playwright-artifacts-2/c21ba3dfe7f92847a8b703a5f7e4207f.zip'
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/functional/user-permissions.test.ts#L1
1) [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".
functional-tests (3.11)
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/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 1.4m
Slow Test: frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 39.7s
Slow Test: frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 24.6s
🎭 Playwright Run Summary
7 failed [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 [firefox] › 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 [firefox] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ──────── 2 flaky [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/common.test.ts:79:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item 218 skipped 196 did not run 39 passed (1.0h)

Artifacts

Produced during runtime
Name Size
functional-tests-report Expired
237 MB