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
test: remove checking duration in github reporter to reduce flakiness
Sidharth Vinodf4cbd9d574a1
diff --git a/tests/playwright-test/github-reporter.spec.ts b/tests/playwright-test/github-reporter.spec.tsindex 685b440cc2..b1c7e88586 100644--- a/tests/playwright-test/github-reporter.spec.ts+++ b/tests/playwright-test/github-reporter.spec.ts@@ -82,7 +82,7 @@ test('print GitHub annotations for slow tests', async ({ runInlineTest }) => {`}, { retries: 3, reporter: 'github' }, { GITHUB_ACTION: 'true', GITHUB_WORKSPACE: '' });const text = stripAscii(result.output);- expect(text).toContain('::warning title=Slow Test,file=a.test.js::a.test.js took 2');+ expect(text).toContain('::warning title=Slow Test,file=a.test.js::a.test.js took');expect(text).toContain('::notice title=🎭 Playwright Run Summary::%0A 1 passed');expect(result.exitCode).toBe(0);});\ No newline at end of file