Remove the user list from the navigation sidebar for non-admin users #474
Annotations
10 errors, 1 warning, and 1 notice
[chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
1) [chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
1) [chromium] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › users permissions › Auditor user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
2) [chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › users permissions › Auditor user can view users
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › users permissions › Auditor user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
2) [chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › users permissions › Auditor user can view users
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › users permissions › Domain manager user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
3) [chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › users permissions › Domain manager user can view users
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › users permissions › Domain manager user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
3) [chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › users permissions › Domain manager user can view users
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › users permissions › Approver user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
4) [chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › users permissions › Approver user can view users
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › users permissions › Approver user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
4) [chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › users permissions › Approver user can view users
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[firefox] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
5) [firefox] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107:117
|
[firefox] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users:
frontend/tests/functional/user-permissions.test.ts#L107
5) [firefox] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row', { name: '[email protected]' }).first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('row', { name: '[email protected]' }).first()
105 |
106 | if (userCanView) {
> 107 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeVisible();
| ^
108 | }
109 | else {
110 | await expect(pages[objectPage].getRow(objectData.build.name || objectData.build.email)).toBeHidden();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:107: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 › users permissions › Analyst user can view users
[chromium] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › users permissions › Auditor user can view users
[chromium] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › users permissions › Domain manager user can view users
[chromium] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › users permissions › Approver user can view users
[firefox] › functional/user-permissions.test.ts:101:21 › Analyst user has the right permissions › users permissions › Analyst user can view users
[firefox] › functional/user-permissions.test.ts:101:21 › Auditor user has the right permissions › users permissions › Auditor user can view users
[firefox] › functional/user-permissions.test.ts:101:21 › Domain manager user has the right permissions › users permissions › Domain manager user can view users
[firefox] › functional/user-permissions.test.ts:101:21 › Approver user has the right permissions › users permissions › Approver user can view users
1 flaky
[firefox] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password
348 skipped
105 passed (37.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
functional-tests-report
Expired
|
240 MB |
|