mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 15:16:14 +00:00
Try to preload fonts in visual tests
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import {expect, test} from '@playwright/test';
|
||||
import {blockTracking} from './helpers';
|
||||
import {blockTracking, waitForFonts} from './helpers';
|
||||
|
||||
test.describe('Intro page visual validation @visual', () => {
|
||||
test.beforeEach(async ({page, context}) => {
|
||||
await blockTracking(context);
|
||||
await page.goto('/');
|
||||
await waitForFonts(page);
|
||||
});
|
||||
|
||||
test('intro-page', async ({page}) => {
|
||||
|
||||
Reference in New Issue
Block a user