Skip to content

Commit

Permalink
Temp workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
otociulis committed Dec 6, 2024
1 parent bd9fc89 commit c1105af
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/integration/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit c1105af

Please sign in to comment.