From 25e991f9a6447ec49b517b9eab9f79229e771f25 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 17 Jul 2024 12:35:05 +0200 Subject: [PATCH] fix test --- tests/playwright-test/expect.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/expect.spec.ts b/tests/playwright-test/expect.spec.ts index 7d010e905c..63928e86fb 100644 --- a/tests/playwright-test/expect.spec.ts +++ b/tests/playwright-test/expect.spec.ts @@ -1056,7 +1056,7 @@ test('should throw error when using .equals()', async ({ runInlineTest }) => { test('numeric ranges', () => { test.expect(() => { test.expect(100).toBeWithinRange(90, 110); - }).toThrowError('Playwright Expect matchers are not fully compatible with Jest matchers. See https://aka.ms/playwright/expect-compatibility'); + }).toThrowError('It looks like you are using custom expect matchers that are not compatible with Playwright. See https://aka.ms/playwright/expect-compatibility'); }); ` });