Skip to content

Commit

Permalink
test: fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Jul 28, 2023
1 parent aa746b0 commit 5a55735
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/site/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@ test('main heading is set', async () => {

await page.goto('http://localhost:3000/oulu-dev-meetups/');

page.getByRole('heading', { level: 1, name: 'Oulu developer meetups' });
expect(
await page
.getByRole('heading', { level: 1, name: 'Oulu developer meetups' })
.isVisible(),
).toBeTruthy();
});

0 comments on commit 5a55735

Please sign in to comment.