Skip to content

Rename audit

Rename audit #531

Triggered via pull request April 17, 2024 15:43
Status Failure
Total duration 41m 47s
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-ae18' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '0-Test assessment-ae18' }).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-2b27' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '1-Test assessment-2b27' }).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-96f7' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '2-Test assessment-96f7' }).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-4050' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '3-Test assessment-4050' }).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-abad' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '4-Test assessment-abad' }).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-0174' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '5-Test assessment-0174' }).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-d9e1' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '6-Test assessment-d9e1' }).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-5e2b' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '7-Test assessment-5e2b' }).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 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
5) [firefox] › 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: '9-Test assessment-0308' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '9-Test assessment-0308' }).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 › Analyst user has the right permissions › audits permissions › Analyst user can not view audits: frontend/tests/functional/user-permissions.test.ts#L110
5) [firefox] › 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: '10-Test assessment-6f3b' }).first() Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 10000ms - waiting for getByRole('row', { name: '10-Test assessment-6f3b' }).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
8 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 › Analyst user has the right permissions › audits permissions › Analyst 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 156 skipped 298 passed (39.0m)

Artifacts

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