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,11 +1,11 @@
import {expect, test} from '@playwright/test';
import dedent from 'dedent';
import * as fs from 'fs';
import {blockTracking, mockGedcomResponse, waitForFonts} from './helpers';
import {mockGedcomResponse, setupHermeticEnvironment, waitForFonts} from './helpers';
test.describe('Details panel visual validation @visual', () => {
test.beforeEach(async ({page, context}) => {
await blockTracking(context);
await setupHermeticEnvironment(context);
await page.goto('/');
await waitForFonts(page);
});