Skip to content

Commit

Permalink
chore: fix onboarding spec
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
  • Loading branch information
markphelps committed May 13, 2024
1 parent 9e62c87 commit 11b6707
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/tests/onboarding.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ test.describe('Onboarding', () => {
await expect(
page.getByText('Get Started', { exact: true })
).toBeVisible();
await expect(
page.getByText('Introducing Flipt Hybrid Cloud', { exact: true })
).toBeVisible();
await expect(
page.getByText('Try the CLI', { exact: true })
).toBeVisible();
Expand Down Expand Up @@ -41,7 +44,7 @@ test.describe('Onboarding', () => {
test.describe('user navigates to the onboarding page', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/');
await page.getByRole('link', { name: 'Support' }).click();
await page.getByRole('link', { name: 'Support', exact: true }).click();
await page.getByRole('heading', { name: 'Onboarding' }).click();
await page.getByRole('link', { name: "Let's Go" }).click();
});
Expand Down

0 comments on commit 11b6707

Please sign in to comment.