Skip to content

Commit cef5bce

Browse files
Fix not-found exercise smoke assertion
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
1 parent cd98c23 commit cef5bce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • exercises/07.error-handling/05.solution.not-found/tests/e2e

exercises/07.error-handling/05.solution.not-found/tests/e2e/smoke.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'
22

33
test('can visit the home page', async ({ page }) => {
44
await page.goto('/')
5-
await expect(page.getByText('Hello World')).toBeVisible()
5+
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()
66
})
77

88
test('post requests to missing routes return the not found response', async ({

0 commit comments

Comments
 (0)