Skip to content

add more test coverage & address gitar

8e0ca62
Select commit
Loading
Failed to load commit list.
Merged

(playwright): Stabilize Playwright search export coverage #27462

add more test coverage & address gitar
8e0ca62
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Apr 17, 2026 in 7m 22s

Annotations

Check failure on line 894 in src/utils/QueryBuilderElasticsearchFormatUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This function expects 5 arguments, but 6 were provided.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3SmhWggb7hsyi13&open=AZ2a-3SmhWggb7hsyi13&pullRequest=27462

Check warning on line 659 in src/pages/ColumnBulkOperations/ColumnGrid/ColumnGrid.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3ClhWggb7hsyizX&open=AZ2a-3ClhWggb7hsyizX&pullRequest=27462

Check warning on line 31 in src/components/Auth/AppAuthenticators/GenericAuthenticator.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2xphWggb7hsyiww&open=AZ2a-2xphWggb7hsyiww&pullRequest=27462

Check warning on line 118 in src/components/OntologyExplorer/utils/graphConfig.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-20yhWggb7hsyixe&open=AZ2a-20yhWggb7hsyixe&pullRequest=27462

Check failure on line 313 in src/utils/SchedularUtils.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `throw error` over `return Promise.reject(error)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3YShWggb7hsyi3M&open=AZ2a-3YShWggb7hsyi3M&pullRequest=27462

Check failure on line 92 in src/components/common/RichTextEditor/RichTextEditorPreviewer.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.dataset` over `setAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-19HhWggb7hsyirC&open=AZ2a-19HhWggb7hsyirC&pullRequest=27462

Check warning on line 243 in src/components/Settings/Users/UsersProfile/UserPermissions/UserPermissions.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2fDhWggb7hsyiux&open=AZ2a-2fDhWggb7hsyiux&pullRequest=27462

Check warning on line 153 in src/pages/DataInsightPage/DataInsightProvider.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-28phWggb7hsyiyz&open=AZ2a-28phWggb7hsyiyz&pullRequest=27462

Check failure on line 735 in src/components/DataQuality/AddDataQualityTest/components/TestCaseFormV1.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `return value` over `return Promise.resolve(value)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2PrhWggb7hsyitT&open=AZ2a-2PrhWggb7hsyitT&pullRequest=27462

Check warning on line 64 in src/constants/constants.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use concise character class syntax '\w' instead of '[a-zA-Z0-9_]'.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3e-hWggb7hsyi55&open=AZ2a-3e-hWggb7hsyi55&pullRequest=27462

Check warning on line 63 in src/components/Learning/ResourcePlayer/ResourcePlayerModal.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2s5hWggb7hsyiwZ&open=AZ2a-2s5hWggb7hsyiwZ&pullRequest=27462

Check warning on line 43 in src/hooks/useClipBoard.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3g9hWggb7hsyi6Q&open=AZ2a-3g9hWggb7hsyi6Q&pullRequest=27462

Check warning on line 96 in src/components/common/RichTextEditor/RichTextEditorPreviewer.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-19HhWggb7hsyirD&open=AZ2a-19HhWggb7hsyirD&pullRequest=27462

Check failure on line 68 in src/components/BlockEditor/Extensions/File/FileNode.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-10AhWggb7hsyipe&open=AZ2a-10AhWggb7hsyipe&pullRequest=27462

Check warning on line 418 in src/components/common/CoverImageUpload/MUICoverImageUpload.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-17IhWggb7hsyiqh&open=AZ2a-17IhWggb7hsyiqh&pullRequest=27462

Check warning on line 156 in src/components/common/UserTeamSelect/UserTeamSelect.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2K3hWggb7hsyis2&open=AZ2a-2K3hWggb7hsyis2&pullRequest=27462

Check warning on line 75 in src/components/Explore/EntitySummaryPanel/APIEndpointSummary/APIEndpointSummary.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2muhWggb7hsyive&open=AZ2a-2muhWggb7hsyive&pullRequest=27462

Check warning on line 70 in src/pages/DataQuality/DataQualityProvider.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3ElhWggb7hsyizq&open=AZ2a-3ElhWggb7hsyizq&pullRequest=27462

Check warning on line 47 in src/pages/DataInsightPage/DataInsightLeftPanel/DataInsightLeftPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'LeftPanelCard' is deprecated.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-281hWggb7hsyiy3&open=AZ2a-281hWggb7hsyiy3&pullRequest=27462

Check warning on line 1690 in src/utils/EntityUtils.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.some(…)` over `.find(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-3RdhWggb7hsyi1X&open=AZ2a-3RdhWggb7hsyi1X&pullRequest=27462

Check failure on line 45 in src/components/common/atoms/TagChip/TagChip.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-15JhWggb7hsyip_&open=AZ2a-15JhWggb7hsyip_&pullRequest=27462

Check warning on line 278 in src/components/MyData/Widgets/DomainsWidget/DomainsWidget.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2VdhWggb7hsyit0&open=AZ2a-2VdhWggb7hsyit0&pullRequest=27462

Check warning on line 291 in src/components/SettingsSso/SSOGroupedFieldTemplate/SSOGroupedFieldTemplate.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This branch's code block is the same as the block for the branch on line 279.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2rKhWggb7hsyiwI&open=AZ2a-2rKhWggb7hsyiwI&pullRequest=27462

Check warning on line 248 in src/components/common/NavigationBlocker/NavigationBlocker.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2CUhWggb7hsyir5&open=AZ2a-2CUhWggb7hsyir5&pullRequest=27462

Check warning on line 204 in src/components/common/EntityDescription/EntityAttachmentProvider/EntityAttachmentProvider.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

The 'value' object passed as the value prop to the Context provider changes every render. To fix this consider wrapping it in a useMemo hook.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2a-2GFhWggb7hsyisU&open=AZ2a-2GFhWggb7hsyisU&pullRequest=27462