UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (11 loc) 463 B
import {test} from 'autotests'; import {E2edReportExample} from 'autotests/pageObjects/pages'; import {expect} from 'e2ed'; import {navigateToPage} from 'e2ed/actions'; test('correctly check screenshots via toMatchScreenshot', {meta: {testId: '20'}}, async () => { const reportPage = await navigateToPage(E2edReportExample); await expect(reportPage.header, 'toMatchScreenshot check screenshot').toMatchScreenshot( 'Nzq9MAYNp1', {mask: []}, ); });