diff --git a/tests/library/hit-target.spec.ts b/tests/library/hit-target.spec.ts index f53493da9f..2825296e6f 100644 --- a/tests/library/hit-target.spec.ts +++ b/tests/library/hit-target.spec.ts @@ -250,7 +250,7 @@ it('should not click iframe overlaying the target', async ({ page, server }) => `); - const error = await page.click('text=click-me', { timeout: 500 }).catch(e => e); + const error = await page.click('text=click-me', { timeout: 1000 }).catch(e => e); expect(await page.evaluate('window._clicked')).toBe(undefined); expect(error.message).toContain(`