mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 23:26:15 +00:00
Make screenshot tests repeatable by providing own fonts
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import {expect, test} from '@playwright/test';
|
||||
import {setupGedcomRoute, waitForFonts} from './helpers';
|
||||
import {setupGedcomRoute, setupHermeticEnvironment} from './helpers';
|
||||
|
||||
test.describe('Configurations Integration @visual', () => {
|
||||
test.beforeEach(async ({page, context}) => {
|
||||
await setupHermeticEnvironment(context);
|
||||
await setupGedcomRoute(context);
|
||||
await page.goto('/');
|
||||
await waitForFonts(page);
|
||||
|
||||
await page.goto('/#/view?url=https://example.org/family.ged');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user