const PAGE_PATH = '/pages/API/load-font-face/load-font-face' describe('loadFontFace', () => { beforeAll(async () => { const page = await program.navigateTo(PAGE_PATH) await page.waitFor(3000) }) it('screenshot', async () => { const image = await program.screenshot() expect(image).toMatchImageSnapshot() }) })