Ca 615 refactor breadcrumbs #3414
Annotations
10 errors, 5 warnings, and 1 notice
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
1) [chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Edit 0-Test domain-ddf4"
Received string: "0-Test domain-ddf4"
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">0-Test domain-ddf4</span>
- unexpected value "0-Test domain-ddf4"
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/frontend/tests/utils/base-page.ts:38:37)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:28:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:84:26
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L59
1) [chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item').last()
Expected string: "Edit"
Received string: " 0-Test domain-ddf4 "
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for getByTestId('crumb-item').last()
24 × locator resolved to <span data-testid="crumb-item" class="max-w-[64ch] overflow-hidden text-sm text-gray-500 font-semibold antialiased"> 0-Test domain-ddf4 </span>
- unexpected value " 0-Test domain-ddf4 "
at utils/base-page.ts:59
57 | await expect.soft(this.breadcrumbs).toHaveText(paths);
58 | } else {
> 59 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
| ^
60 | }
61 | }
62 |
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:59:47)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:29:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:84:26
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
1) [chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Edit 1-Test domain-b472"
Received string: "1-Test domain-b472"
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">1-Test domain-b472</span>
- unexpected value "1-Test domain-b472"
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/frontend/tests/utils/base-page.ts:38:37)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:28:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:84:26
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L59
1) [chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item').last()
Expected string: "Edit"
Received string: " 1-Test domain-b472 "
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for getByTestId('crumb-item').last()
24 × locator resolved to <span data-testid="crumb-item" class="max-w-[64ch] overflow-hidden text-sm text-gray-500 font-semibold antialiased"> 1-Test domain-b472 </span>
- unexpected value " 1-Test domain-b472 "
at utils/base-page.ts:59
57 | await expect.soft(this.breadcrumbs).toHaveText(paths);
58 | } else {
> 59 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
| ^
60 | }
61 | }
62 |
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:59:47)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:29:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:84:26
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Libraries"
Received string: "Frameworks"
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">Frameworks</span>
- unexpected value "Frameworks"
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 PageContent.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:72:29
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:66:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Libraries"
Received string: "Frameworks"
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">Frameworks</span>
- unexpected value "Frameworks"
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 PageContent.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:73:29
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:66:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Libraries"
Received string: "Risk matrices"
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">Risk matrices</span>
- unexpected value "Risk matrices"
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 PageContent.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:167:29
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:160:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Libraries"
Received string: "Frameworks"
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">Frameworks</span>
- unexpected value "Frameworks"
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 PageContent.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:72:29
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:66:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Libraries"
Received string: "Frameworks"
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">Frameworks</span>
- unexpected value "Frameworks"
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 PageContent.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:73:29
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:66:2
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L38
2) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "Libraries"
Received string: "Risk matrices"
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">Risk matrices</span>
- unexpected value "Risk matrices"
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 PageContent.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:38:37)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:167:29
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:160:2
|
Run tests with browser chromium:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 4.3m
|
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.8m
|
Run tests with browser chromium:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 52.3s
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 28.9s
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 27.7s
|
Run tests with browser chromium
2 failed
[chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly
2 skipped
22 did not run
207 passed (17.3m)
|
Loading