Skip to content

Commit 71a3f2a

Browse files
up
1 parent cc363a9 commit 71a3f2a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

e2e/visitor.spec.ts

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ test.describe('visitor basic', () => {
1818
await page.goto('http://localhost:3000/')
1919
await expect(page.getByRole('main')).toHaveText(/close your eyes/)
2020
})
21+
22+
test('show single post', async ({ page }) => {
23+
await page.goto('http://localhost:3000/')
24+
await page.getByTestId('single-post-page-link-1').click()
25+
await expect(page.getByRole('main')).toHaveText(/CSS Weekly #464/)
26+
})
2127
})
2228

2329
test.afterAll(async () => {

0 commit comments

Comments
 (0)