Skip to content

feat : Link component migration from v8 to v9 #7977

feat : Link component migration from v8 to v9

feat : Link component migration from v8 to v9 #7977

Triggered via pull request July 29, 2024 09:51
Status Failure
Total duration 5m 48s
Artifacts 6

ci.yml

on: pull_request
Matrix: unit-tests
Matrix: e2e-web-tests
publish-code-coverage
0s
publish-code-coverage
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
e2e-report-tests
Process completed with exit code 1.
NewTabLink › renders content with custom className: src/tests/unit/tests/common/components/new-tab-link.test.tsx#L19
expect(received).toMatchSnapshot() Snapshot name: `NewTabLink renders content with custom className 1` - Snapshot - 1 + Received + 0 <DocumentFragment> <mock-link - classname="insights-link custom-class" href="test" target="_blank" /> </DocumentFragment> at Object.toMatchSnapshot (src/tests/unit/tests/common/components/new-tab-link.test.tsx:19:43) at runMicrotasks (<anonymous>)
NewTabLink › renders content without custom className: src/tests/unit/tests/common/components/new-tab-link.test.tsx#L28
expect(received).toMatchSnapshot() Snapshot name: `NewTabLink renders content without custom className 1` - Snapshot - 1 + Received + 0 <DocumentFragment> <mock-link - classname="insights-link" href="test" target="_blank" /> </DocumentFragment> at Object.toMatchSnapshot (src/tests/unit/tests/common/components/new-tab-link.test.tsx:28:43)
NewTabLink › handles children: src/tests/unit/tests/common/components/new-tab-link.test.tsx#L37
expect(received).toMatchSnapshot() Snapshot name: `NewTabLink handles children 1` - Snapshot - 1 + Received + 0 @@ -1,8 +1,7 @@ <DocumentFragment> <mock-link - classname="insights-link" href="test" target="_blank" > link text </mock-link> at Object.toMatchSnapshot (src/tests/unit/tests/common/components/new-tab-link.test.tsx:37:43)
unit-tests (2/2)
Process completed with exit code 1.
NewTabLinkWithTooltip › renders with tooltip content: src/tests/unit/tests/common/components/new-tab-link-with-tooltip.test.tsx#L23
expect(received).toMatchSnapshot() Snapshot name: `NewTabLinkWithTooltip renders with tooltip content 1` - Snapshot - 1 + Received + 0 @@ -3,11 +3,10 @@ calloutprops="[object Object]" content="tooltip text" styles="[object Object]" > <mock-link - classname="insights-link insightsLink" href="test" target="_blank" /> </mock-styledtooltiphostbase> </DocumentFragment> at Object.toMatchSnapshot (src/tests/unit/tests/common/components/new-tab-link-with-tooltip.test.tsx:23:43) at runMicrotasks (<anonymous>)
NewTabLinkWithTooltip › renders with null tooltip content: src/tests/unit/tests/common/components/new-tab-link-with-tooltip.test.tsx#L34
expect(received).toMatchSnapshot() Snapshot name: `NewTabLinkWithTooltip renders with null tooltip content 1` - Snapshot - 1 + Received + 0 @@ -2,11 +2,10 @@ <mock-styledtooltiphostbase calloutprops="[object Object]" styles="[object Object]" > <mock-link - classname="insights-link insightsLink" href="test" target="_blank" /> </mock-styledtooltiphostbase> </DocumentFragment> at Object.toMatchSnapshot (src/tests/unit/tests/common/components/new-tab-link-with-tooltip.test.tsx:34:43)
NewTabLinkWithTooltip › handles children: src/tests/unit/tests/common/components/new-tab-link-with-tooltip.test.tsx#L42
expect(received).toMatchSnapshot() Snapshot name: `NewTabLinkWithTooltip handles children 1` - Snapshot - 1 + Received + 0 @@ -3,11 +3,10 @@ calloutprops="[object Object]" content="tooltip text" styles="[object Object]" > <mock-link - classname="insights-link insightsLink" href="test" target="_blank" > link text </mock-link> at Object.toMatchSnapshot (src/tests/unit/tests/common/components/new-tab-link-with-tooltip.test.tsx:42:43)
unit-tests (1/2)
Process completed with exit code 1.
codeql
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
codeql
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.18.1.

Artifacts

Produced during runtime
Name Size
build-results
54 MB
e2e-report-tests-results
1.47 KB
e2e-web-tests-1-results
6.83 KB
e2e-web-tests-2-results
2.03 KB
unit-tests-1-results
155 KB
unit-tests-2-results
157 KB