mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-06 04:26:57 +00:00
fix failing cypress tests (#15003)
This commit is contained in:
parent
131e5f5767
commit
1d61d7fb3f
@ -215,11 +215,13 @@ export const addInternalDestination = (
|
||||
|
||||
// Select the receivers
|
||||
if (typeId) {
|
||||
interceptURL('GET', `/api/v1/search/query?q=*`, 'getSearchResult');
|
||||
if (category === 'Teams' || category === 'Users') {
|
||||
cy.get(
|
||||
`[data-testid="destination-${destinationNumber}"] [data-testid="dropdown-trigger-button"]`
|
||||
).click();
|
||||
)
|
||||
.scrollIntoView()
|
||||
.click();
|
||||
interceptURL('GET', `/api/v1/search/query?q=*`, 'getSearchResult');
|
||||
cy.get(
|
||||
`[data-testid="team-user-select-dropdown-${destinationNumber}"] [data-testid="search-input"]`
|
||||
)
|
||||
|
||||
@ -207,13 +207,13 @@ describe('Activity feed', () => {
|
||||
interceptURL('POST', '/api/v1/feed/*/posts', 'postReply');
|
||||
interceptURL(
|
||||
'GET',
|
||||
'/api/v1/search/suggest?q=*&index=user_search_index%2Cteam_search_index',
|
||||
'/api/v1/search/query?q=*&index=user_search_index*',
|
||||
'suggestUser'
|
||||
);
|
||||
interceptURL(
|
||||
'GET',
|
||||
// eslint-disable-next-line max-len
|
||||
'/api/v1/search/suggest?q=dim_add&index=*',
|
||||
'/api/v1/search/query?q=*dim_add*&index=*',
|
||||
'suggestAsset'
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user