Update page-goto.spec.ts
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
23ad340f07
commit
ac3775d56d
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue