Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Jan 22, 2024
1 parent cc363a9 commit 71a3f2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e/visitor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ test.describe('visitor basic', () => {
await page.goto('http://localhost:3000/')
await expect(page.getByRole('main')).toHaveText(/close your eyes/)
})

test('show single post', async ({ page }) => {
await page.goto('http://localhost:3000/')
await page.getByTestId('single-post-page-link-1').click()
await expect(page.getByRole('main')).toHaveText(/CSS Weekly #464/)
})
})

test.afterAll(async () => {
Expand Down

0 comments on commit 71a3f2a

Please sign in to comment.