Skip to content

Rename Compliance Assessment to Audit - display only #529

Rename Compliance Assessment to Audit - display only

Rename Compliance Assessment to Audit - display only #529

Triggered via pull request April 17, 2024 15:41
Status Failure
Total duration 41m 54s
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/user-permissions.test.ts:101:21 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
1) [chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '0-Test assessment-1133' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '0-Test assessment-1133' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
1) [chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '1-Test assessment-e1e5' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '1-Test assessment-e1e5' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
2) [chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '2-Test assessment-6667' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '2-Test assessment-6667' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
2) [chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '3-Test assessment-fd7f' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '3-Test assessment-fd7f' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › audits permissions › Domain manager user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
3) [chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › audits permissions › Domain manager user can not view audits Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '4-Test assessment-7d72' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '4-Test assessment-7d72' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › audits permissions › Domain manager user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
3) [chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › audits permissions › Domain manager user can not view audits Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '5-Test assessment-2985' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '5-Test assessment-2985' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › audits permissions › Approver user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
4) [chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › audits permissions › Approver user can not view audits Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '6-Test assessment-b8c4' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '6-Test assessment-b8c4' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › audits permissions › Approver user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
4) [chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › audits permissions › Approver user can not view audits Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '7-Test assessment-b1ef' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '7-Test assessment-b1ef' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[firefox] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
5) [firefox] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '11-Test assessment-9f37' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '11-Test assessment-9f37' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
[firefox] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
5) [firefox] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeHidden() Locator: getByRole('row', { name: '12-Test assessment-5de1' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '12-Test assessment-5de1' }).first() - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" - locator resolved to <tr aria-rowindex="1">…</tr> - unexpected value "visible" 108 | } 109 | else { > 110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden(); | ^ 111 | } 112 | }); 113 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:110:117
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
7 failed [chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits [chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits [chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › audits permissions › Domain manager user can not view audits [chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › audits permissions › Approver user can not view audits [firefox] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › audits permissions › Auditor user can not view audits [firefox] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › audits permissions › Domain manager user can not view audits [firefox] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › audits permissions › Approver user can not view audits 2 flaky [firefox] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password [firefox] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits 156 skipped 297 passed (38.9m)

Artifacts

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