Apply filters on catalog import for matrices and mapping #3670
Annotations
5 errors, 5 warnings, and 1 notice
Run tests with browser chromium:
frontend/tests/utils/page-detail.ts#L132
1) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item
Error: Timed out 20000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('category-field-value')
Expected string: "process"
Received string: "Policy"
Call log:
- expect.soft.toContainText with timeout 20000ms
- waiting for getByTestId('category-field-value')
24 × locator resolved to <li class="list-none" data-testid="category-field-value">Policy</li>
- unexpected value "Policy"
at utils/page-detail.ts:132
130 | await expect
131 | .soft(value)
> 132 | .toContainText(
| ^
133 | getObjectNameWithoutScope(
134 | typeof values[key] === 'object'
135 | ? !Array.isArray(values[key])
at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:132:10)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:107:5
|
Run tests with browser chromium:
frontend/tests/utils/page-detail.ts#L132
1) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('category-field-value')
Expected string: "process"
Received string: "Policy"
Call log:
- expect.soft.toContainText with timeout 20000ms
- waiting for getByTestId('category-field-value')
24 × locator resolved to <li class="list-none" data-testid="category-field-value">Policy</li>
- unexpected value "Policy"
at utils/page-detail.ts:132
130 | await expect
131 | .soft(value)
> 132 | .toContainText(
| ^
133 | getObjectNameWithoutScope(
134 | typeof values[key] === 'object'
135 | ? !Array.isArray(values[key])
at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:132:10)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:107:5
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L51
2) [chromium] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page
Error: expect(locator(':root')).toHaveURL(false)
Locator: locator(':root')
Matcher error: expected value must be a string or regular expression
Expected has type: boolean
Expected has value: false
at utils/base-page.ts:51
49 | async hasUrl(url: string = this.url, strict: boolean = true) {
50 | const URLPattern = strict ? url : new RegExp(escapeRegex(url) + '.*');
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | async hasBreadcrumbPath(paths: (string | RegExp)[], fullPath = true, origin = 'Home') {
at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:51:27)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:23
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L51
2) [chromium] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator(':root')).toHaveURL(false)
Locator: locator(':root')
Matcher error: expected value must be a string or regular expression
Expected has type: boolean
Expected has value: false
at utils/base-page.ts:51
49 | async hasUrl(url: string = this.url, strict: boolean = true) {
50 | const URLPattern = strict ? url : new RegExp(escapeRegex(url) + '.*');
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | async hasBreadcrumbPath(paths: (string | RegExp)[], fullPath = true, origin = 'Home') {
at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:51:27)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:23
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:2
|
Run tests with browser chromium
Process completed with exit code 1.
|
Run tests with browser chromium:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 4.7m
|
Run tests with browser chromium:
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 1.9m
|
Run tests with browser chromium:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 1.0m
|
Run tests with browser chromium:
frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 58.5s
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 31.6s
|
Run tests with browser chromium
2 failed
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on applied controls item › Tests on applied controls item details › user can edit applied controls item
[chromium] › functional/startup.test.ts:3:1 › startup tests ────────────────────────────────────
2 skipped
10 did not run
219 passed (17.1m)
|
Loading