From ac3775d56dbaf84d9a9cdc55106934483195e2e1 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 23 Aug 2024 17:56:36 +0200 Subject: [PATCH] Update page-goto.spec.ts Signed-off-by: Max Schmitt --- tests/page/page-goto.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/page/page-goto.spec.ts b/tests/page/page-goto.spec.ts index 015fa0e4ef..944b7de87b 100644 --- a/tests/page/page-goto.spec.ts +++ b/tests/page/page-goto.spec.ts @@ -366,7 +366,7 @@ it('should fail when main resources failed to load', async ({ page, browserName, } else if (browserName === 'webkit' && isWindows && mode === 'service2') { expect(error.message).toContain(`proxy handshake error`); } else if (browserName === 'webkit' && isWindows) { - expect(error.message).toContain(`Couldn\'t connect to server`); + expect(error.message).toContain(`Could not connect to server`); } else if (browserName === 'webkit') { if (mode === 'service2') expect(error.message).toContain('Connection refused');