From d711734d388ae5c4c09878756c0316704e3622a9 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Sat, 7 May 2022 10:16:55 -0600 Subject: [PATCH] chore: cleanup stray "fonts" mention in the codebase (#14016) This is a follow-up to #14004 --- packages/playwright-test/src/matchers/toMatchSnapshot.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/playwright-test/src/matchers/toMatchSnapshot.ts b/packages/playwright-test/src/matchers/toMatchSnapshot.ts index eea4691eac..8f92ccebeb 100644 --- a/packages/playwright-test/src/matchers/toMatchSnapshot.ts +++ b/packages/playwright-test/src/matchers/toMatchSnapshot.ts @@ -309,7 +309,6 @@ export async function toHaveScreenshot( const [page, locator] = pageOrLocator.constructor.name === 'Page' ? [(pageOrLocator as PageEx), undefined] : [(pageOrLocator as Locator).page() as PageEx, pageOrLocator as LocatorEx]; const screenshotOptions = { animations: config?.animations ?? 'disabled', - fonts: process.env.PLAYWRIGHT_EXPERIMENTAL_FEATURES ? (config?.fonts ?? 'ready') : undefined, scale: config?.scale ?? 'css', caret: config?.caret ?? 'hide', ...helper.allOptions,