1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00

test updates

This commit is contained in:
Matthias Kretschmann 2023-10-03 17:34:25 +01:00
parent a135103a9f
commit 4422be28d8
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'
test.describe.configure({ mode: 'parallel' }) test.describe.configure({ mode: 'parallel' })
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto('/404') await page.goto('/404/')
}) })
test('matches screenshot', async ({ page }) => { test('matches screenshot', async ({ page }) => {

View File

@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test' import { test, expect } from '@playwright/test'
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto('/photos') await page.goto('/photos/')
}) })
test('meta is correct', async ({ page }) => { test('meta is correct', async ({ page }) => {

View File

@ -5,7 +5,7 @@ const postSlug = 'gatsby-redirect-from'
const canonical = `${siteConfig.siteUrl}/${postSlug}` const canonical = `${siteConfig.siteUrl}/${postSlug}`
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto(`/${postSlug}`) await page.goto(`/${postSlug}/`)
}) })
test('meta is correct', async ({ page }) => { test('meta is correct', async ({ page }) => {

View File

@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test' import { test, expect } from '@playwright/test'
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto(`/thanks`) await page.goto(`/thanks/`)
}) })
test('meta is correct', async ({ page }) => { test('meta is correct', async ({ page }) => {