From c1105af0e5a10db3a8afebc01f3ef8105de2d5ed Mon Sep 17 00:00:00 2001 From: Oto Ciulis Date: Fri, 6 Dec 2024 14:20:03 -0800 Subject: [PATCH] Temp workaround --- tests/integration/example.spec.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/integration/example.spec.ts b/tests/integration/example.spec.ts index e435b67d..620d1e68 100644 --- a/tests/integration/example.spec.ts +++ b/tests/integration/example.spec.ts @@ -31,7 +31,7 @@ test('has title', async () => { await page.screenshot({ path: 'screenshot-get-started.png' }); - const nextButton = page.getByRole('button', { name: 'Next' }) + let nextButton = page.getByRole('button', { name: 'Next' }) await expect(nextButton).toBeVisible(); await expect(nextButton).toBeEnabled(); @@ -42,13 +42,15 @@ test('has title', async () => { await page.screenshot({ path: 'screenshot-migrate.png' }); - // await nextButton.click(); + nextButton = page.getByRole('button', { name: 'Next' }) - // await expect(page.getByText("Desktop App Settings")).toBeVisible(); + await nextButton.click(); + + await expect(page.getByText("Desktop App Settings")).toBeVisible(); // const installButton = page.getByText("Install") - // await page.screenshot({ path: 'screenshot-install.png' }); + await page.screenshot({ path: 'screenshot-install.png' }); // await expect(installButton).toBeVisible(); // await expect(installButton).toBeEnabled();