Skip to content

Commit 161769e

Browse files
authored
chore(templates): fix typo in e2e tests (headging -> heading) (#13391)
### What? Small typo in templates e2e tests: `headging`
1 parent c9a1590 commit 161769e

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

templates/_template/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Blank Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Welcome to your new project.')
18+
await expect(heading).toHaveText('Welcome to your new project.')
1919
})
2020
})

templates/blank/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Blank Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Welcome to your new project.')
18+
await expect(heading).toHaveText('Welcome to your new project.')
1919
})
2020
})

templates/website/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Website Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Payload Website Template')
18+
await expect(heading).toHaveText('Payload Website Template')
1919
})
2020
})

templates/with-postgres/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Blank Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Welcome to your new project.')
18+
await expect(heading).toHaveText('Welcome to your new project.')
1919
})
2020
})

templates/with-vercel-mongodb/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Blank Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Welcome to your new project.')
18+
await expect(heading).toHaveText('Welcome to your new project.')
1919
})
2020
})

templates/with-vercel-postgres/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Blank Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Welcome to your new project.')
18+
await expect(heading).toHaveText('Welcome to your new project.')
1919
})
2020
})

templates/with-vercel-website/tests/e2e/frontend.e2e.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test.describe('Frontend', () => {
1313

1414
await expect(page).toHaveTitle(/Payload Website Template/)
1515

16-
const headging = page.locator('h1').first()
16+
const heading = page.locator('h1').first()
1717

18-
await expect(headging).toHaveText('Payload Website Template')
18+
await expect(heading).toHaveText('Payload Website Template')
1919
})
2020
})

0 commit comments

Comments
 (0)