Ca 615 refactor breadcrumbs #3355
Annotations
10 errors, 4 warnings, and 1 notice
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "0-Test domain-900b"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:61:33
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L57
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 2
+ Received + 1
Array [
" Home",
- "Domains",
- "0-Test domain-900b",
+ " 0-Test domain-900b ",
]
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for getByTestId('crumb-item')
24 × locator resolved to 2 elements
at utils/base-page.ts:57
55 | paths.unshift(new RegExp('.+' + origin));
56 | if (fullPath) {
> 57 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
58 | } else {
59 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
60 | }
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:57:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:62:33
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "1-Test domain-533b"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:61:33
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L57
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 2
+ Received + 1
Array [
" Home",
- "Domains",
- "1-Test domain-533b",
+ " 1-Test domain-533b ",
]
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for getByTestId('crumb-item')
24 × locator resolved to 2 elements
at utils/base-page.ts:57
55 | paths.unshift(new RegExp('.+' + origin));
56 | if (fullPath) {
> 57 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
58 | } else {
59 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
60 | }
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:57:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:62:33
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Analytics"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at AnalyticsPage.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:11:23
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:9:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Analytics"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at LoginPage.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:30:22
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:15:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "My assignments"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at LoginPage.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:30:22
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:15:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Domains"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at LoginPage.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:30:22
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:15:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Projects"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at LoginPage.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:30:22
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:15:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Users"
Received string: ""
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
24 × locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"></span>
- unexpected value ""
at utils/base-page.ts:38
36 |
37 | async hasTitle(title: string | RegExp = this.name) {
> 38 | await expect.soft(this.pageTitle).toHaveText(title);
| ^
39 | }
40 |
41 | /**
at LoginPage.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:30:22
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:15:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts took 4.5m
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 2.5m
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts took 29.0s
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 28.9s
|
Run tests with browser chromium
4 failed
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ─────────────────────────────
[chromium] › functional/startup.test.ts:3:1 › startup tests ────────────────────────────────────
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
2 skipped
23 did not run
204 passed (44.0m)
|
Loading