From 4a9db0f52f59414d652f3bd9288c9e83a072ef99 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 20 Feb 2020 21:26:22 -0800 Subject: [PATCH] do not fail test --- test/chromium/tracing.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/chromium/tracing.spec.js b/test/chromium/tracing.spec.js index 69690647b6..d242af429b 100644 --- a/test/chromium/tracing.spec.js +++ b/test/chromium/tracing.spec.js @@ -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'); });