Skip to content

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

test: reenable test for #39160 (#40719)

Dmitry Gozman6b85e42ba841
diff --git a/tests/page/page-network-response.spec.ts b/tests/page/page-network-response.spec.ts
index 12fa8da1ec..d6ad9f9715 100644
--- a/tests/page/page-network-response.spec.ts
+++ b/tests/page/page-network-response.spec.ts
@@ -64,8 +64,9 @@ it('should return uncompressed text', async ({ page, server }) => {
expect(await response.text()).toBe('{"foo": "bar"}\n');
});
-it('should return uncompressed text for brotli encoding', async ({ page, server, browserName, isAndroid }) => {
- it.fixme(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/39160');
+it('should return uncompressed text for brotli encoding', {
+ annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/39160' },
+}, async ({ page, server, browserName, isAndroid }) => {
it.fixme(isAndroid, 'net::ERR_CONTENT_DECODING_FAILED');
const text = '{"foo": "bar"}\n';