diff --git a/src/PlaywrightEnvironment.ts b/src/PlaywrightEnvironment.ts index c6894e3..b55e200 100644 --- a/src/PlaywrightEnvironment.ts +++ b/src/PlaywrightEnvironment.ts @@ -54,7 +54,7 @@ const getBrowserPerProcess = async ( // https://github.com/mmarkelov/jest-playwright/issues/42#issuecomment-589170220 if (browserType !== CHROMIUM && launchOptions?.args) { launchOptions.args = launchOptions.args.filter( - (item: string) => item !== '--no-sandbox', + (item: string) => item !== '--no-sandbox' && !item.startsWith("--font-render-hinting="), ) }