chore(test): fix flakey relationship tests (#5892)
This commit is contained in:
@@ -145,8 +145,8 @@ export async function openNav(page: Page): Promise<void> {
|
||||
}
|
||||
|
||||
export async function openDocDrawer(page: Page, selector: string): Promise<void> {
|
||||
await wait(300) // wait for parent form state to initialize
|
||||
await page.locator(selector).click({ delay: 100 })
|
||||
await wait(500) // wait for parent form state to initialize
|
||||
await page.locator(selector).click()
|
||||
await wait(500) // wait for drawer form state to initialize
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user