Embed font hoping that this will make the visual tests reproducible

This commit is contained in:
Przemek Więch
2026-05-12 18:08:32 +02:00
parent 9af5aa966a
commit 328008f8e9
8 changed files with 54 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
import {expect, test} from '@playwright/test';
import {blockTracking, waitForFonts} from './helpers';
import {setupHermeticEnvironment, waitForFonts} from './helpers';
test.describe('Intro page visual validation @visual', () => {
test.beforeEach(async ({page, context}) => {
await blockTracking(context);
await setupHermeticEnvironment(context);
await page.goto('/');
await waitForFonts(page);
});