Skip to content

Commit 66fb724

Browse files
committed
fix(docs): wait for actionable lightbox backdrop in e2e
1 parent a97204f commit 66fb724

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/docs/scripts/test-navigation-e2e.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,9 @@ try {
593593
await expect(trigger).toBeFocused()
594594
await trigger.press('Enter')
595595
await expect(viewer).toBeVisible()
596-
await page.mouse.click(1, 1)
596+
await page
597+
.locator('.docs-portal[data-state="open"][aria-hidden="true"]')
598+
.click({ position: { x: 1, y: 1 } })
597599
await expect(viewer).toHaveCount(0)
598600
await expect(trigger).toBeFocused()
599601
await trigger.press('Enter')

0 commit comments

Comments
 (0)