Skip to content

Commit

Permalink
test: remove stray test (#1302)
Browse files Browse the repository at this point in the history
Fixes #1294
  • Loading branch information
aslushnikov authored Mar 10, 2020
1 parent 27d039a commit 72ae5c8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/screenshot.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,6 @@ module.exports.describe = function({testRunner, expect, product, FFOX, CHROMIUM,
});
expect(screenshot).toBeGolden('screenshot-clip-odd-size.png');
});
it('should return base64', async({page, server}) => {
await page.setViewportSize({width: 500, height: 500});
await page.goto(server.PREFIX + '/grid.html');
const screenshot = await page.screenshot({
encoding: 'base64'
});
expect(Buffer.from(screenshot, 'base64')).toBeGolden('screenshot-sanity.png');
});
it.skip(FFOX)('should work with a mobile viewport', async({browser, server}) => {
const context = await browser.newContext({viewport: { width: 320, height: 480, isMobile: true }});
const page = await context.newPage();
Expand Down

0 comments on commit 72ae5c8

Please sign in to comment.