Skip to content

fix(playwright): replace flaky toast assertion with search-based deletion verification in teams & teams drag drop spec - #27341

Merged
harsh-vador merged 6 commits into
mainfrom
remove-toast-assertions-teams-spec
Apr 15, 2026
Merged

harsh-vador merged 6 commits into
mainfrom
remove-toast-assertions-teams-spec

Merge branch 'main' into remove-toast-assertions-teams-spec

1bc77f1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Apr 15, 2026 in 6m 59s

Annotations

Check warning on line 48 in src/components/common/EntityListingTable/EntityListingTable.component.tsx

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=AZ2Mlu3HfdtVFtrWG0aK&open=AZ2Mlu3HfdtVFtrWG0aK&pullRequest=27341

Check warning on line 103 in src/components/SettingsSso/SSODocPanel/SSODocPanel.tsx

See this annotation in the file changed.

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

Expected the Promise rejection reason to be an Error.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlvU9fdtVFtrWG0dF&open=AZ2MlvU9fdtVFtrWG0dF&pullRequest=27341

Check warning on line 883 in src/components/common/Table/TableV2.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=AZ2MlunJfdtVFtrWG0X-&open=AZ2MlunJfdtVFtrWG0X-&pullRequest=27341

Check warning on line 156 in src/pages/AppInstall/AppInstall.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=AZ2MlvqXfdtVFtrWG0gQ&open=AZ2MlvqXfdtVFtrWG0gQ&pullRequest=27341

Check warning on line 93 in src/components/MyData/CustomizableComponents/CustomiseLandingPageHeader/CustomiseSearchBar.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=AZ2Mlu-_fdtVFtrWG0a1&open=AZ2Mlu-_fdtVFtrWG0a1&pullRequest=27341

Check warning on line 258 in src/components/Auth/AppAuthenticators/OidcAuthenticator.tsx

See this annotation in the file changed.

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

A fragment with only one child is redundant.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlvbafdtVFtrWG0eD&open=AZ2MlvbafdtVFtrWG0eD&pullRequest=27341

Check warning on line 212 in src/constants/Services.constant.ts

See this annotation in the file changed.

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

Use `export…from` to re-export `GCS`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlwHgfdtVFtrWG0mg&open=AZ2MlwHgfdtVFtrWG0mg&pullRequest=27341

Check warning on line 128 in src/components/common/atoms/asyncTreeSelect/useTreeSelection.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=AZ2Mluk4fdtVFtrWG0Xa&open=AZ2Mluk4fdtVFtrWG0Xa&pullRequest=27341

Check warning on line 540 in src/utils/CanvasUtils.ts

See this annotation in the file changed.

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

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2Mlv5_fdtVFtrWG0iE&open=AZ2Mlv5_fdtVFtrWG0iE&pullRequest=27341

Check warning on line 225 in src/components/MyData/CustomizableComponents/CustomiseHomeModal/CustomiseHomeModal.tsx

See this annotation in the file changed.

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

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2Mlu_NfdtVFtrWG0a4&open=AZ2Mlu_NfdtVFtrWG0a4&pullRequest=27341

Check warning on line 119 in src/constants/Schedular.constants.ts

See this annotation in the file changed.

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

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlwFSfdtVFtrWG0lI&open=AZ2MlwFSfdtVFtrWG0lI&pullRequest=27341

Check warning on line 85 in src/components/SearchSettings/GlobalSettingsItem/GlobalSettingsItem.tsx

See this annotation in the file changed.

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

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlviSfdtVFtrWG0fl&open=AZ2MlviSfdtVFtrWG0fl&pullRequest=27341

Check warning on line 869 in src/pages/GlossaryTermRelationSettings/GlossaryTermRelationSettings.tsx

See this annotation in the file changed.

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

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlvzLfdtVFtrWG0hE&open=AZ2MlvzLfdtVFtrWG0hE&pullRequest=27341

Check warning on line 175 in src/components/OntologyExplorer/utils/graphStyles.ts

See this annotation in the file changed.

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

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlvfBfdtVFtrWG0ex&open=AZ2MlvfBfdtVFtrWG0ex&pullRequest=27341

Check warning on line 423 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=AZ2MlvJ4fdtVFtrWG0cE&open=AZ2MlvJ4fdtVFtrWG0cE&pullRequest=27341

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

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=AZ2MlwKtfdtVFtrWG0na&open=AZ2MlwKtfdtVFtrWG0na&pullRequest=27341

Check failure on line 401 in src/components/OntologyExplorer/hooks/useOntologyGraph.ts

See this annotation in the file changed.

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

Provide a compare function that depends on "String.localeCompare", to reliably sort elements alphabetically.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2Pc0IpVfXNdCGJwgFu&open=AZ2Pc0IpVfXNdCGJwgFu&pullRequest=27341

Check warning on line 151 in src/components/Auth/AppAuthenticators/OidcAuthenticator.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=AZ2MlvbafdtVFtrWG0eC&open=AZ2MlvbafdtVFtrWG0eC&pullRequest=27341

Check failure on line 138 in src/utils/TagsUtils.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=AZ2Mlv-ofdtVFtrWG0jO&open=AZ2Mlv-ofdtVFtrWG0jO&pullRequest=27341

Check warning on line 202 in src/constants/Services.constant.ts

See this annotation in the file changed.

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

Use `export…from` to re-export `ML_MODEL_DEFAULT`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlwHgfdtVFtrWG0mW&open=AZ2MlwHgfdtVFtrWG0mW&pullRequest=27341

Check warning on line 121 in src/components/common/UserSelectableList/UserSelectableList.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=AZ2Mluz_fdtVFtrWG0Z2&open=AZ2Mluz_fdtVFtrWG0Z2&pullRequest=27341

Check warning on line 210 in src/constants/Services.constant.ts

See this annotation in the file changed.

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

Use `export…from` to re-export `SAGEMAKER`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2MlwHgfdtVFtrWG0me&open=AZ2MlwHgfdtVFtrWG0me&pullRequest=27341

Check warning on line 87 in src/components/common/atoms/TagChip/TagChip.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=AZ2MlujyfdtVFtrWG0XS&open=AZ2MlujyfdtVFtrWG0XS&pullRequest=27341

Check warning on line 108 in src/pages/OmHealth/OmHealthPage.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=AZ2MlvzafdtVFtrWG0hG&open=AZ2MlvzafdtVFtrWG0hG&pullRequest=27341

Check failure on line 39 in src/components/Modals/ModalWithQueryEditor/ModalWithQueryEditor.tsx

See this annotation in the file changed.

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

Unexpected `await` of a non-Promise (non-"Thenable") value.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2Mlu3xfdtVFtrWG0aM&open=AZ2Mlu3xfdtVFtrWG0aM&pullRequest=27341