do not fail test
This commit is contained in:
parent
974a8ad124
commit
4a9db0f52f
|
|
@ -65,8 +65,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
|
|||
it('should return a buffer', async({browser, page, server, outputFile}) => {
|
||||
await browser.startTracing(page, {screenshots: true, path: outputFile});
|
||||
await page.goto(server.PREFIX + '/grid.html');
|
||||
await browser.stopTracing();
|
||||
const trace = null; //await browser.stopTracing();
|
||||
const trace = await browser.stopTracing();
|
||||
const buf = fs.readFileSync(outputFile);
|
||||
expect(trace.toString()).toEqual(buf.toString(), 'Tracing buffer mismatch');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue