mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
test: fix port forwarding tests in Docker
This commit is contained in:
parent
cf8e3b087f
commit
31c76a086d
@ -146,5 +146,5 @@ it('should lead to the error page for forwarded requests when the connection is
|
||||
else if (browserName === 'webkit')
|
||||
expect(error.message).toBeTruthy();
|
||||
else if (browserName === 'firefox')
|
||||
expect(error.message).toContain('NS_ERROR_CONNECTION_REFUSED');
|
||||
expect(error.message.includes('NS_ERROR_NET_RESET') || error.message.includes('NS_ERROR_CONNECTION_REFUSED')).toBe(true);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user