Skip to content
Permalink
Browse files

test: try to fix CSS coverage flakes on win (#2992)

  • Loading branch information...
aslushnikov committed Jul 31, 2018
1 parent 4bbaa9d commit 89f968b96a728d3119eb125270f434a73a1979bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/coverage.spec.js
@@ -22,7 +22,7 @@ module.exports.addTests = function({testRunner, expect}) {
describe('JSCoverage', function() {
it('should work', async function({page, server}) {
await page.coverage.startJSCoverage();
await page.goto(server.PREFIX + '/jscoverage/simple.html');
await page.goto(server.PREFIX + '/jscoverage/simple.html', {waitUntil: 'networkidle0'});
const coverage = await page.coverage.stopJSCoverage();
expect(coverage.length).toBe(1);
expect(coverage[0].url).toContain('/jscoverage/simple.html');

0 comments on commit 89f968b

Please sign in to comment.
You can’t perform that action at this time.