Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not chromium: skip font-render-hinting option #803

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VickyKoblinski
Copy link

Like with no-sandbox, webkit will not run with the flag --font-render-hinting. Specifically on Ubuntu 20 (github actions), it does fine on MacOS.

[TEST] Error: Browser closed.
[TEST] ==================== Browser output: ====================
[TEST] <launching> /home/runner/.cache/ms-playwright/webkit-1609/pw_run.sh --inspector-pipe --headless --no-startup-window --font-render-hinting=none
[TEST] <launched> pid=[57](https://github.com/releasehub-com/spacedust/runs/7297424381?check_suite_focus=true#step:5:58)65
[TEST] [pid=5765][err] Cannot parse arguments: Unknown option --font-render-hinting=none
[TEST]     at /home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/webkit/wkConnection.js:163:16
[TEST]     at new Promise (<anonymous>)
[TEST]     at WKSession.send (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/webkit/wkConnection.js:1[59](https://github.com/releasehub-com/spacedust/runs/7297424381?check_suite_focus=true#step:5:60):12)
[TEST]     at Function.connect (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/webkit/wkBrowser.js:51:47)
[TEST]     at WebKit._connectToTransport (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/webkit/webkit.js:40:33)
[TEST]     at WebKit._innerLaunch (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/browserType.js:146:32)
[TEST]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[TEST]     at async ProgressController.run (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/progress.js:101:22)
[TEST]     at async WebKit.launch (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/server/browserType.js:79:21)
[TEST]     at async BrowserServerLauncherImpl.launchServer (/home/runner/work/spacedust/spacedust/app/node_modules/playwright-core/lib/browserServerImpl.js:[60](https://github.com/releasehub-com/spacedust/runs/7297424381?check_suite_focus=true#step:5:61):21)
[TEST]     at async PlaywrightRunner.launchServer (/home/runner/work/spacedust/spacedust/app/node_modules/jest-playwright-preset/lib/PlaywrightRunner.js:[69](https://github.com/releasehub-com/spacedust/runs/7297424381?check_suite_focus=true#step:5:70):44)
[TEST]     at async PlaywrightRunner.getTests (/home/runner/work/spacedust/spacedust/app/node_modules/jest-playwright-preset/lib/PlaywrightRunner.js:90:36)
[TEST]     at async PlaywrightRunner.runTests (/home/runner/work/spacedust/spacedust/app/node_modules/jest-playwright-preset/lib/PlaywrightRunner.js:124:30)
[TEST]     at async TestScheduler.scheduleTests (/home/runner/work/spacedust/spacedust/app/node_modules/@jest/core/build/TestScheduler.js:333:13)
[TEST]     at async runJest (/home/runner/work/spacedust/spacedust/app/node_modules/@jest/core/build/runJest.js:404:19)
[TEST]     at async _run10000 (/home/runner/work/spacedust/spacedust/app/node_modules/@jest/core/build/cli/index.js:320:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant