Skip to content

Commit

Permalink
Build extension before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Jul 3, 2024
1 parent 4224390 commit 9daaf28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compatibilityTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ jobs:
env:
CI: "true"
with:
args: npm run test:compatibility
args: npm run build:chromium && npm run test:compatibility
# run: npm run test:compatibility:headful
4 changes: 2 additions & 2 deletions test/compatibility.headful.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ 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}`
`--load-extension=${extensionPath}`,
'--no-sandbox'
],
executablePath: process.env.PUPPETEER_EXEC_PATH, // set by docker container
});
Expand Down

0 comments on commit 9daaf28

Please sign in to comment.