Playwright API receiving undefined value typescript
I’ve just started on my Playwright/Typescript journey so I’m a complete beginner at this point. A lot of this will potentially be no-no’s so happy for these to be pointed out.
Playwright fixture timing out
const test = defaultTest.extend({ audit: async ({ page }) => { await page.screenshot({ path: ‘e2e/test.png’ }); console.info(‘audit’); }, }); // …more code test.only(‘audit’, async ({ page, mount, audit }) => { await audit(page); // …test code })); Error: Running 1 test using 1 worker ✘ 1 [chromium] ›audit.playwright.tsx:48:6 › audit (10.0s) audit 1) [chromium] › […]