Skip to content

Commit

Permalink
[DO NOT MERGE] Debug Puppeteer with font tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandermeij committed Dec 17, 2023
1 parent 91188cf commit 132d35d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/font_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
run: pip install fonttools

- name: Run font tests
run: gulp fonttest --headless
run: DEBUG="puppeteer:*" gulp fonttest --headless
2 changes: 2 additions & 0 deletions test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ async function startBrowser({ browserName, headless, startUrl }) {
const options = {
product: browserName,
protocol: "cdp",
dumpio: true,
// Note that using `headless: true` gives a deprecation warning; see
// https://github.com/puppeteer/puppeteer#default-runtime-settings.
headless: headless === true ? "new" : false,
Expand Down Expand Up @@ -968,6 +969,7 @@ async function startBrowser({ browserName, headless, startUrl }) {
"layout.css.round.enabled": true,
// This allow to copy some data in the clipboard.
"dom.events.asyncClipboard.clipboardItem": true,
"remote.log.level": "Trace",
};
}

Expand Down

0 comments on commit 132d35d

Please sign in to comment.