From f0b3b280a516c9670952b20a43c3a1b298407c9d Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Thu, 30 Jun 2022 09:05:39 -0700 Subject: [PATCH] test: increase small timeouts to accomodate two workers (#15257) --- tests/library/hit-target.spec.ts | 4 ++-- tests/page/locator-frame.spec.ts | 2 +- tests/page/page-click.spec.ts | 2 +- tests/page/page-select-option.spec.ts | 2 +- tests/page/page-wait-for-request.spec.ts | 2 +- tests/page/page-wait-for-response.spec.ts | 4 ++-- tests/page/selectors-misc.spec.ts | 8 ++++---- .../playwright.expect.misc.spec.ts | 12 +++++------ .../playwright.expect.text.spec.ts | 8 ++++---- .../playwright.expect.true.spec.ts | 20 +++++++++---------- 10 files changed, 32 insertions(+), 32 deletions(-) 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(`