Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Sep 23, 2023
1 parent fe4a509 commit 1e6223b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/post.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ test.beforeEach(async ({ page }) => {
})

test('meta is correct', async ({ page }) => {
await expect(page).toHaveTitle(/Redirect plugin for Markdown Pages in Gatsby/)
await expect(page).toHaveTitle(/Redirect Plugin for Markdown Pages in Gatsby/)

await expect(page.locator('meta[property="og:title"]')).toHaveAttribute(
'content',
/Redirect plugin for Markdown Pages in Gatsby/
/Redirect Plugin for Markdown Pages in Gatsby/
)
await expect(page.locator('link[rel="canonical"]')).toHaveAttribute(
'href',
Expand Down

0 comments on commit 1e6223b

Please sign in to comment.