Update page-goto.spec.ts

Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-08-23 17:56:36 +02:00 committed by GitHub
parent 23ad340f07
commit ac3775d56d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -366,7 +366,7 @@ it('should fail when main resources failed to load', async ({ page, browserName,
} else if (browserName === 'webkit' && isWindows && mode === 'service2') { } else if (browserName === 'webkit' && isWindows && mode === 'service2') {
expect(error.message).toContain(`proxy handshake error`); expect(error.message).toContain(`proxy handshake error`);
} else if (browserName === 'webkit' && isWindows) { } 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') { } else if (browserName === 'webkit') {
if (mode === 'service2') if (mode === 'service2')
expect(error.message).toContain('Connection refused'); expect(error.message).toContain('Connection refused');