mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 21:16:45 +00:00
added the missing searchTeam function (#17957)
This commit is contained in:
parent
fb3651affa
commit
f80afe6bb0
@ -250,3 +250,12 @@ export const removeOrganizationPolicyAndRole = async (
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
export const searchTeam = async (page: Page, teamName: string) => {
|
||||
const searchResponse = page.waitForResponse('/api/v1/search/suggest?q=**');
|
||||
|
||||
await page.fill('[data-testid="searchbar"]', teamName);
|
||||
await searchResponse;
|
||||
|
||||
await expect(page.locator('table')).toContainText(teamName);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user