Skip to content

Ca 615 refactor breadcrumbs #3431

Ca 615 refactor breadcrumbs

Ca 615 refactor breadcrumbs #3431

Triggered via pull request December 20, 2024 22:37
Status Failure
Total duration 19m 23s
Artifacts 2

functional-tests.yml

on: pull_request
Matrix: enterprise-functional-tests
Matrix: functional-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 10 warnings, and 2 notices
[chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item: 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-6bfe " 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-6bfe </span> - unexpected value " 0-Test domain-6bfe " 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:28:14) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:84:26
[chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item: 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-3d26 " 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-3d26 </span> - unexpected value " 1-Test domain-3d26 " 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:28:14) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:84:26
functional-tests (3.11, chromium)
Process completed with exit code 1.
[chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item: 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
[chromium] › functional/detailed/common.test.ts:80:4 › Tests on domains item › Tests on domains item details › user can edit domains item: 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
enterprise-functional-tests (3.11, chromium)
Process completed with exit code 1.
Slow Test: frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 4.3m
Slow Test: frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 1.8m
Slow Test: frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 53.7s
Slow Test: frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 53.6s
Slow Test: frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 29.9s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts took 4.7m
Slow Test: 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
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 56.7s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 54.8s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts took 30.2s
🎭 Playwright Run Summary
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 (13.4m)
🎭 Playwright Run Summary
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)

Artifacts

Produced during runtime
Name Size
enterprise-functional-tests-report-chromium
31.3 MB
functional-tests-report-chromium
28.2 MB