diff --git a/tests/integration/example.spec.ts b/tests/integration/example.spec.ts index 0de85b61..643f4d62 100644 --- a/tests/integration/example.spec.ts +++ b/tests/integration/example.spec.ts @@ -48,6 +48,8 @@ test('has title', async () => { const installButton = page.getByText("Install") + await page.screenshot({ path: 'screenshot-install.png' }); + await expect(installButton).toBeVisible(); await expect(installButton).toBeEnabled();