Try to preload fonts in visual tests

This commit is contained in:
Przemek Więch
2026-05-12 17:42:58 +02:00
parent 1119dd81dd
commit 9af5aa966a
5 changed files with 22 additions and 7 deletions

View File

@@ -1,9 +1,12 @@
import {expect, test} from '@playwright/test';
import {setupGedcomRoute} from './helpers';
import {setupGedcomRoute, waitForFonts} from './helpers';
test.describe('Configurations Integration @visual', () => {
test.beforeEach(async ({page, context}) => {
await setupGedcomRoute(context);
await page.goto('/');
await waitForFonts(page);
await page.goto('/#/view?url=https://example.org/family.ged');
// Wait for the sidebar and the main content container to be visible.