Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix: increase global timeout for a test (#30491)
Yury Semikhatsky73c12f1f773a
diff --git a/tests/playwright-test/reporter-base.spec.ts b/tests/playwright-test/reporter-base.spec.tsindex ca4801cc83..620e78f1bf 100644--- a/tests/playwright-test/reporter-base.spec.ts+++ b/tests/playwright-test/reporter-base.spec.ts@@ -214,7 +214,7 @@ for (const useIntermediateMergeReport of [false, true] as const) {const result = await runInlineTest({'playwright.config.ts': `module.exports = {- globalTimeout: 1000,+ globalTimeout: 3000,};`,'dir/a.test.js': `@@ -232,7 +232,7 @@ for (const useIntermediateMergeReport of [false, true] as const) {expect(result.passed).toBe(1);expect(result.interrupted).toBe(1);expect(result.didNotRun).toBe(1);- expect(result.output).toContain('Timed out waiting 1s for the test suite to run');+ expect(result.output).toContain('Timed out waiting 3s for the test suite to run');});test('should not print slow parallel tests', async ({ runInlineTest }) => {