Skip to content

Commit

Permalink
Attempt to fix puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Aug 7, 2024
1 parent 7f3f9f6 commit f843f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions-scripts/puppeteer.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function test() {
waitUntil: 'networkidle2',
});
await page.setViewport({ width: 640, height: 1000 });
await page.waitForTimeout(500); // Wait for resize to complete
await page.evaluate(() => new Promise(r => setTimeout(r, 500))); // Wait for resize to complete
await page.click('label[for="choices-single-custom-templates"]');
await page.keyboard.press('ArrowDown');
await page.keyboard.press('ArrowDown');
Expand Down

0 comments on commit f843f49

Please sign in to comment.