mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-29 17:49:14 +00:00
fix playwright test for DataAssetsWidget (#16914)
This commit is contained in:
parent
1086708a9f
commit
876192645e
@ -880,15 +880,8 @@ export const checkDataAssetWidget = async (
|
||||
index: string,
|
||||
serviceType: string
|
||||
) => {
|
||||
const dataAssetWidgetResponse = page.waitForResponse(
|
||||
// eslint-disable-next-line max-len
|
||||
'/api/v1/search/query?q=**&from=0&size=0&index=table_search_index%2Ctopic_search_index%2Cdashboard_search_index%2Cpipeline_search_index%2Cmlmodel_search_index%2Ccontainer_search_index%2Csearch_entity_search_index&sort_field=updatedAt'
|
||||
);
|
||||
|
||||
await page.click('[data-testid="welcome-screen-close-btn"]');
|
||||
|
||||
await dataAssetWidgetResponse;
|
||||
|
||||
const quickFilterResponse = page.waitForResponse(
|
||||
`/api/v1/search/query?q=&index=${index}*${serviceType}*`
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user