Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: unflake basic timeout test (#22745)

Pavel Feldman5ad75f92f72f
diff --git a/tests/playwright-test/basic.spec.ts b/tests/playwright-test/basic.spec.ts
index cd56a0fd2d..36663f02fd 100644
--- a/tests/playwright-test/basic.spec.ts
+++ b/tests/playwright-test/basic.spec.ts
@@ -43,7 +43,7 @@ test('should timeout', async ({ runInlineTest }) => {
expect(exitCode).toBe(1);
expect(passed).toBe(0);
expect(failed).toBe(1);
- expect(output).toContain('Test timeout of 100ms exceeded.');
+ expect(output).toContain('Test timeout of 100ms exceeded');
});
test('should succeed', async ({ runInlineTest }) => {