Skip to content

Commit

Permalink
Fix for headull CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Jul 2, 2024
1 parent 2a35dff commit 90d0839
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/compatibility.headfull.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { dirname, join } from 'path';
const __dirname = dirname(fileURLToPath(import.meta.url));

describe("compatibility", function () {
this.timeout(15000);
this.timeout(20000);

context("YouTube", function () {
context("shuffle button insertion", function () {
Expand All @@ -18,9 +18,11 @@ describe("compatibility", function () {
browser = await puppeteer.launch({
headless: false, // Extensions only work in head-full mode
args: [
'--no-sandbox',
`--disable-extensions-except=${extensionPath}`,
`--load-extension=${extensionPath}`
]
],
executablePath: process.env.PUPPETEER_EXEC_PATH, // set by docker container
});
page = await browser.newPage();

Expand Down

0 comments on commit 90d0839

Please sign in to comment.