Add cost field to applied controls #2025
Annotations
7 errors, 6 warnings, and 1 notice
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/utils/form-content.ts#L120
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: locator.fill: value: expected string, got number
at utils/form-content.ts:120
118 | await field?.locator.fill(values[key].toString(), { force: true });
119 | default:
> 120 | await field?.locator.fill(values[key]);
| ^
121 | break;
122 | }
123 | }
at FormContent.fill (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/form-content.ts:120:27)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:50:3)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:104:3
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:99:2
|
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L257
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Test timeout of 150000ms exceeded while running "afterEach" hook.
255 | });
256 |
> 257 | test.afterEach('cleanup', async ({ foldersPage, usersPage, page }) => {
| ^
258 | await foldersPage.goto();
259 | await foldersPage.deleteItemButton(vars.folderName).click();
260 | await foldersPage.deleteModalConfirmButton.click();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:257:6
|
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L264
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('row', { name: '[email protected]' }).first().getByTestId('tablerow-delete-button')
262 |
263 | await usersPage.goto();
> 264 | await usersPage.deleteItemButton(vars.user.email).click();
| ^
265 | await usersPage.deleteModalConfirmButton.click();
266 | await expect(usersPage.getRow(vars.user.email)).not.toBeVisible();
267 | });
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:264:52
|
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/utils/form-content.ts#L120
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: value: expected string, got number
at utils/form-content.ts:120
118 | await field?.locator.fill(values[key].toString(), { force: true });
119 | default:
> 120 | await field?.locator.fill(values[key]);
| ^
121 | break;
122 | }
123 | }
at FormContent.fill (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/form-content.ts:120:27)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:50:3)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:104:3
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:99:2
|
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L257
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 150000ms exceeded while running "afterEach" hook.
255 | });
256 |
> 257 | test.afterEach('cleanup', async ({ foldersPage, usersPage, page }) => {
| ^
258 | await foldersPage.goto();
259 | await foldersPage.deleteItemButton(vars.folderName).click();
260 | await foldersPage.deleteModalConfirmButton.click();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:257:6
|
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly:
frontend/tests/functional/user-route.test.ts#L264
1) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('row', { name: '[email protected]' }).first().getByTestId('tablerow-delete-button')
262 |
263 | await usersPage.goto();
> 264 | await usersPage.deleteItemButton(vars.user.email).click();
| ^
265 | await usersPage.deleteModalConfirmButton.click();
266 | await expect(usersPage.getRow(vars.user.email)).not.toBeVisible();
267 | });
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:264:52
|
functional-tests (3.11, chromium)
Process completed with exit code 1.
|
functional-tests (3.11, chromium)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 5.3m
|
Slow Test:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 5.1m
|
Slow Test:
frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 3.1m
|
Slow Test:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 59.2s
|
Slow Test:
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 25.1s
|
🎭 Playwright Run Summary
1 failed
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
2 skipped
229 passed (23.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
functional-tests-report-chromium
Expired
|
109 MB |
|