Skip to content

Commit

Permalink
Add debug when tests are failing
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Oct 26, 2023
1 parent 7233c77 commit 88c38fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/render/run_render_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 88c38fd

Please sign in to comment.