Skip to content

Commit

Permalink
Update homepage.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DinerIsmail committed Sep 28, 2024
1 parent 245c6ee commit 2da18da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/homepage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ test('Titles are displayed', async ({ page }) => {
test('Web cards are loaded', async ({ page }) => {
await page.goto('/')

await expect(page.getByRole('heading', { name: 'Cambridge' })).toBeVisible()
await expect(
page.getByRole('heading', { name: 'Intentionally wrong to test the test' }),
).toBeVisible()
await expect(page.getByRole('heading', { name: 'Durham' })).toBeVisible()
})

0 comments on commit 2da18da

Please sign in to comment.