Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: accept curl receive error in client certificate handshake test (#43350)
Yury Semikhatskyde629e00e01c
diff --git a/tests/library/client-certificates.spec.ts b/tests/library/client-certificates.spec.tsindex 6e14caff8e..251512a023 100644--- a/tests/library/client-certificates.spec.ts+++ b/tests/library/client-certificates.spec.ts@@ -407,7 +407,7 @@ test.describe('browser', () => {const result = await page.goto(serverURL).catch(e => e);if (result instanceof Error) {// The server closed the connection with FIN after the TLS handshake.- expect(result.message).toMatch(/net::ERR_EMPTY_RESPONSE|NS_ERROR_NET_RESET|Connection terminated unexpectedly|The network connection was lost/);+ expect(result.message).toMatch(/net::ERR_EMPTY_RESPONSE|NS_ERROR_NET_RESET|Connection terminated unexpectedly|The network connection was lost|Failure when receiving data from the peer/);} else {// The server reset the connection, which the proxy reports as a client certificate error.expect(result.status()).toBe(503);