do not fail test

This commit is contained in:
Andrey Lushnikov 2020-02-20 21:26:22 -08:00
parent 974a8ad124
commit 4a9db0f52f

View file

@ -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');
});