Allow adding evidences from applied control detail #395
Annotations
10 errors, 1 warning, and 1 notice
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/base-page.ts#L24
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "0-Test applied control-72f0"
Received string: "f37d6ba3Fe284cada69a0f740b528130"
Call log:
- expect.soft.toHaveText with timeout 10000ms
- waiting for locator('#page-title')
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">f37d6ba3Fe284cada69a0f740b528130</span>
- unexpected value "f37d6ba3Fe284cada69a0f740b528130"
at utils/base-page.ts:24
22 |
23 | async hasTitle(title: string | RegExp = this.name) {
> 24 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
25 | }
26 |
27 | async hasUrl() {
at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:24:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/base-page.ts#L34
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 3
+ Received + 3
Array [
- /.+Home/,
- "Applied controls",
- "0-Test applied control-72f0",
+ " Home",
+ " Applied controls",
+ " f37d6ba3Fe284cada69a0f740b528130 ",
]
Call log:
- expect.soft.toHaveText with timeout 10000ms
- waiting for getByTestId('crumb-item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at utils/base-page.ts:34
32 | paths.unshift(new RegExp('.+' + origin));
33 | if (fullPath) {
> 34 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
35 | }
36 | else {
37 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:34:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:60:33
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/page-detail.ts#L97
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: expect(received).toMatch(expected)
Expected pattern: /\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/
Received string: "1/1/2025"
at utils/page-detail.ts:97
95 | expect
96 | .soft(displayedValue)
> 97 | .toMatch(/\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/);
| ^
98 | expect.soft(displayedDate.getFullYear()).toBe(date.getFullYear());
99 | expect.soft(displayedDate.getMonth()).toBe(date.getMonth());
100 | expect.soft(displayedDate.getDate()).toBe(date.getDate());
at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:97:9)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:74:5
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/page-detail.ts#L97
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: expect(received).toMatch(expected)
Expected pattern: /\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/
Received string: "5/1/2025"
at utils/page-detail.ts:97
95 | expect
96 | .soft(displayedValue)
> 97 | .toMatch(/\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/);
| ^
98 | expect.soft(displayedDate.getFullYear()).toBe(date.getFullYear());
99 | expect.soft(displayedDate.getMonth()).toBe(date.getMonth());
100 | expect.soft(displayedDate.getDate()).toBe(date.getDate());
at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:97:9)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:74:5
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/base-page.ts#L24
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "1-Test applied control-a665"
Received string: "9e9cd81d02d64b2e9ad4a9ca7faa59de"
Call log:
- expect.soft.toHaveText with timeout 10000ms
- waiting for locator('#page-title')
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9e9cd81d02d64b2e9ad4a9ca7faa59de</span>
- unexpected value "9e9cd81d02d64b2e9ad4a9ca7faa59de"
at utils/base-page.ts:24
22 |
23 | async hasTitle(title: string | RegExp = this.name) {
> 24 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
25 | }
26 |
27 | async hasUrl() {
at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:24:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/base-page.ts#L34
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 3
+ Received + 3
Array [
- /.+Home/,
- "Applied controls",
- "1-Test applied control-a665",
+ " Home",
+ " Applied controls",
+ " 9e9cd81d02d64b2e9ad4a9ca7faa59de ",
]
Call log:
- expect.soft.toHaveText with timeout 10000ms
- waiting for getByTestId('crumb-item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at utils/base-page.ts:34
32 | paths.unshift(new RegExp('.+' + origin));
33 | if (fullPath) {
> 34 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
35 | }
36 | else {
37 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:34:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:60:33
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/page-detail.ts#L97
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected pattern: /\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/
Received string: "1/1/2025"
at utils/page-detail.ts:97
95 | expect
96 | .soft(displayedValue)
> 97 | .toMatch(/\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/);
| ^
98 | expect.soft(displayedDate.getFullYear()).toBe(date.getFullYear());
99 | expect.soft(displayedDate.getMonth()).toBe(date.getMonth());
100 | expect.soft(displayedDate.getDate()).toBe(date.getDate());
at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:97:9)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:74:5
|
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/page-detail.ts#L97
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected pattern: /\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/
Received string: "5/1/2025"
at utils/page-detail.ts:97
95 | expect
96 | .soft(displayedValue)
> 97 | .toMatch(/\d{1,2}\/\d{1,2}\/\d{4},\s\d{1,2}(:\d{1,2}){2} (AM|PM)/);
| ^
98 | expect.soft(displayedDate.getFullYear()).toBe(date.getFullYear());
99 | expect.soft(displayedDate.getMonth()).toBe(date.getMonth());
100 | expect.soft(displayedDate.getDate()).toBe(date.getDate());
at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:97:9)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:74:5
|
[firefox] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/base-page.ts#L24
2) [firefox] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "3-Test applied control-4c90"
Received string: "9349df5548694615804edf37145107f8"
Call log:
- expect.soft.toHaveText with timeout 10000ms
- waiting for locator('#page-title')
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">9349df5548694615804edf37145107f8</span>
- unexpected value "9349df5548694615804edf37145107f8"
at utils/base-page.ts:24
22 |
23 | async hasTitle(title: string | RegExp = this.name) {
> 24 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
25 | }
26 |
27 | async hasUrl() {
at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:24:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
|
[firefox] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly:
frontend/tests/utils/base-page.ts#L34
2) [firefox] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 3
+ Received + 3
Array [
- /.+Home/,
- "Applied controls",
- "3-Test applied control-4c90",
+ " Home",
+ " Applied controls",
+ " 9349df5548694615804edf37145107f8 ",
]
Call log:
- expect.soft.toHaveText with timeout 10000ms
- waiting for getByTestId('crumb-item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at utils/base-page.ts:34
32 | paths.unshift(new RegExp('.+' + origin));
33 | if (fullPath) {
> 34 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
35 | }
36 | else {
37 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:34:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:60:33
|
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
2 failed
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
[firefox] › functional/detailed/common.test.ts:70:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly
26 skipped
434 passed (28.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
functional-tests-report
Expired
|
75.9 MB |
|