diff --git a/playwright.config.ts b/playwright.config.ts index abdb97233..0a4fcbe3c 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,7 +1,6 @@ import type { PlaywrightTestConfig } from '@playwright/test'; import { devices } from '@playwright/test'; - const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ @@ -48,6 +47,9 @@ const config: PlaywrightTestConfig = { name: 'chromium', use: { ...devices['Desktop Chrome'], + launchOptions: { + args: ['--font-render-hinting=none'], + }, }, }, diff --git a/tests/express.spec.ts-snapshots/Express-loads-1-chromium-linux.png b/tests/express.spec.ts-snapshots/Express-loads-1-chromium-linux.png index 11a9903c2..4da160187 100644 Binary files a/tests/express.spec.ts-snapshots/Express-loads-1-chromium-linux.png and b/tests/express.spec.ts-snapshots/Express-loads-1-chromium-linux.png differ diff --git a/tests/express.spec.ts-snapshots/Plotly-loads-1-chromium-linux.png b/tests/express.spec.ts-snapshots/Plotly-loads-1-chromium-linux.png index bc6a3bf83..95fd70ecd 100644 Binary files a/tests/express.spec.ts-snapshots/Plotly-loads-1-chromium-linux.png and b/tests/express.spec.ts-snapshots/Plotly-loads-1-chromium-linux.png differ diff --git a/tests/ui.spec.ts-snapshots/UI-loads-1-chromium-linux.png b/tests/ui.spec.ts-snapshots/UI-loads-1-chromium-linux.png index 44c520c36..c3bf7f814 100644 Binary files a/tests/ui.spec.ts-snapshots/UI-loads-1-chromium-linux.png and b/tests/ui.spec.ts-snapshots/UI-loads-1-chromium-linux.png differ