Fix: User playwright test (#20918)

* fix user playwright test

* address pr comment
This commit is contained in:
Shrushti Polekar 2025-04-24 19:52:02 +05:30 committed by shrushti2000
parent 6a03e20de3
commit a839eb648f

View File

@ -573,8 +573,9 @@ export const checkStewardServicesPermissions = async (page: Page) => {
}
// Click on the sidebar item for Explore again
const queryResponse = page.waitForResponse('/api/v1/search/query?q=*');
await sidebarClick(page, SidebarItem.EXPLORE);
await queryResponse;
// Perform search actions
await page.click('[data-testid="search-dropdown-Data Assets"]');
await page.locator('[data-testid="table-checkbox"]').scrollIntoViewIfNeeded();