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 175136c commit bd9fc89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 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.getByText("Next")
const nextButton = page.getByRole('button', { name: 'Next' })

await expect(nextButton).toBeVisible();
await expect(nextButton).toBeEnabled();
Expand All @@ -42,18 +42,18 @@ test('has title', async () => {

await page.screenshot({ path: 'screenshot-migrate.png' });

await nextButton.click();
// await nextButton.click();

await expect(page.getByText("Desktop App Settings")).toBeVisible();
// await expect(page.getByText("Desktop App Settings")).toBeVisible();

const installButton = page.getByText("Install")
// 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();
// await expect(installButton).toBeVisible();
// await expect(installButton).toBeEnabled();

await installButton.click();
// await installButton.click();


});

0 comments on commit bd9fc89

Please sign in to comment.