mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
test updates
This commit is contained in:
parent
a135103a9f
commit
4422be28d8
@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'
|
||||
test.describe.configure({ mode: 'parallel' })
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/404')
|
||||
await page.goto('/404/')
|
||||
})
|
||||
|
||||
test('matches screenshot', async ({ page }) => {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { test, expect } from '@playwright/test'
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/photos')
|
||||
await page.goto('/photos/')
|
||||
})
|
||||
|
||||
test('meta is correct', async ({ page }) => {
|
||||
|
@ -5,7 +5,7 @@ const postSlug = 'gatsby-redirect-from'
|
||||
const canonical = `${siteConfig.siteUrl}/${postSlug}`
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto(`/${postSlug}`)
|
||||
await page.goto(`/${postSlug}/`)
|
||||
})
|
||||
|
||||
test('meta is correct', async ({ page }) => {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { test, expect } from '@playwright/test'
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto(`/thanks`)
|
||||
await page.goto(`/thanks/`)
|
||||
})
|
||||
|
||||
test('meta is correct', async ({ page }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user