mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 19:48:17 +00:00
Fix: flaky user.spec test (#21191)
* fix flaky user test * minor fix * refactor code
This commit is contained in:
parent
94c74a5f27
commit
0297e24dc4
@ -33,7 +33,6 @@ export const sidebarClick = async (page: Page, id: string) => {
|
||||
await page.waitForTimeout(300);
|
||||
await page.click(`[data-testid="${items[0]}"]`);
|
||||
await page.click(`[data-testid="app-bar-item-${items[1]}"]`);
|
||||
await page.click(`[data-testid="${items[0]}"]`);
|
||||
} else {
|
||||
await page.click(`[data-testid="app-bar-item-${id}"]`);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user