Skip to content

Remove requirement level #603

Remove requirement level

Remove requirement level #603

Triggered via pull request April 24, 2024 22:27
Status Failure
Total duration 39m 14s
Artifacts 1

functional-tests.yml

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

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on audits item › Tests on audits item details › Audits item details are showing properly: frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on audits item › Tests on audits item details › Audits item details are showing properly Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on audits item › Tests on audits item details › Audits item details are showing properly: frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on audits item › Tests on audits item details › Audits item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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
[chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported: frontend/tests/utils/base-page.ts#L61
2) [chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:12:3
[chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported: frontend/tests/utils/base-page.ts#L61
2) [chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:12:3
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L61
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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/utils/base-page.ts#L61
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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 › Reader user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L61
4) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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 › Reader user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L61
4) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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 › Domain manager user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L61
5) [chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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 › Domain manager user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L61
5) [chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library object has been successfully imported.+/ }) 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:81:14) 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)
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/.
🎭 Playwright Run Summary
14 failed [chromium] › functional/detailed/common.test.ts:70:4 › Tests on audits item › Tests on audits item details › Audits item details are showing properly [chromium] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ─────── [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 audits item › Tests on audits item details › Audits item details are showing properly [firefox] › functional/detailed/libraries.test.ts:4:1 › every libraries can be imported ──────── [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 [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly 406 skipped 42 passed (36.1m)

Artifacts

Produced during runtime
Name Size
functional-tests-report Expired
1.16 GB