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 GitHub
parent 63a55437ae
commit f01bffb872
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();