Skip to content

Commit

Permalink
Fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gorzelinski committed Nov 10, 2024
1 parent 1a8fb8c commit d12bd32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/fixtures/settings-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class SettingsPage {
const generator = this.page.locator('meta[name="generator"]')
const creator = this.page.locator('meta[name="creator"]')
const publisher = this.page.locator('meta[name="publisher"]')
const cannonical = this.page.locator('link[rel="canonical"]')
const canonical = this.page.locator('link[rel="canonical"]')
const titleTag = await this.page.title()
const descriptionTag = this.page.locator('meta[name="description"]')

Expand Down Expand Up @@ -236,7 +236,7 @@ export class SettingsPage {
'content',
this.dictionary.en.layout.root.metadata.author
)
await expect(cannonical).toHaveAttribute('href', url)
await expect(canonical).toHaveAttribute('href', url)
await expect(titleTag).toBe(
slug === this.link.home ? title : await this.getTemplateTitle(title, 'en')
)
Expand Down

0 comments on commit d12bd32

Please sign in to comment.