chore(test): fix flakey relationship tests (#5892)

This commit is contained in:
Jarrod Flesch
2024-04-17 11:44:07 -04:00
committed by GitHub
parent 8bf03ae706
commit 009e6c2066
3 changed files with 20 additions and 2 deletions

View File

@@ -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
}