From 88c38fd1c99598659be933aff8a671545ed284e0 Mon Sep 17 00:00:00 2001 From: HarelM Date: Thu, 26 Oct 2023 23:50:52 +0300 Subject: [PATCH] Add debug when tests are failing --- test/integration/render/run_render_tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/render/run_render_tests.ts b/test/integration/render/run_render_tests.ts index beafb0f2c5..70af967a54 100644 --- a/test/integration/render/run_render_tests.ts +++ b/test/integration/render/run_render_tests.ts @@ -830,6 +830,7 @@ async function executeRenderTests() { console.log(`Re-running failed tests: ${failedTests.length}`); page.close(); page = await browser.newPage(); + options.debug = true; applyDebugParameter(options, page); await page.addScriptTag({path: 'dist/maplibre-gl.js'}); await runTests(page, failedTests, directory);