Ca 615 refactor breadcrumbs #3431
Annotations
3 errors, 5 warnings, and 1 notice
Run tests with browser chromium:
enterprise/frontend/.build/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-f858 "
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-f858 </span>
- unexpected value " 0-Test domain-f858 "
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/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:59:47)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-detail.ts:28:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:84:26
|
Run tests with browser chromium:
enterprise/frontend/.build/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-c474 "
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-c474 </span>
- unexpected value " 1-Test domain-c474 "
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/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:59:47)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-detail.ts:28:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:84:26
|
Run tests with browser chromium
Process completed with exit code 1.
|
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.7m
|
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.6m
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 56.7s
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 54.8s
|
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 30.2s
|
Run tests with browser chromium
1 failed
[chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item
2 skipped
22 did not run
208 passed (14.8m)
|
Loading