mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test: try to fix CSS coverage flakes on win (#2992)
This commit is contained in:
parent
4bbaa9d4f5
commit
89f968b96a
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user