Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test(network): rebaseline request failed test on win

Pavel Feldman2a866d66cb5f
diff --git a/test/network.spec.js b/test/network.spec.js
index 818373a985..42407ecadb 100644
--- a/test/network.spec.js
+++ b/test/network.spec.js
@@ -259,7 +259,7 @@ describe('Network Events', function() {
if (MAC)
expect(failedRequests[0].failure().errorText).toBe('The network connection was lost.');
else if (WIN)
- expect(failedRequests[0].failure().errorText).toBe('Unsupported protocol');
+ expect(failedRequests[0].failure().errorText).toBe('Server returned nothing (no headers, no data)');
else
expect(failedRequests[0].failure().errorText).toBe('Message Corrupt');
} else {