test: follow up to an encoding test (#4187)

This commit is contained in:
Pavel Feldman 2020-10-20 08:47:07 -07:00 committed by GitHub
parent 7f76d44f77
commit 7433ae2798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -501,8 +501,9 @@ it('should work with lazy loading iframes', async ({page, server}) => {
expect(page.frames().length).toBe(2);
});
it('should report raw buffer for main resource', (test, { browserName }) => {
it('should report raw buffer for main resource', (test, { browserName, platform }) => {
test.fail(browserName === 'chromium', 'Chromium sends main resource as text');
test.fail(browserName === 'webkit' && platform === 'win32', 'Same here');
}, async ({page, server, playwright}) => {
server.setRoute('/empty.html', (req, res) => {
res.statusCode = 200;