From 4422be28d801e93a5d6f26263c9679a596fae00f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 3 Oct 2023 17:34:25 +0100 Subject: [PATCH] test updates --- test/e2e/404.spec.ts | 2 +- test/e2e/photos.spec.ts | 2 +- test/e2e/post.spec.ts | 2 +- test/e2e/thanks.spec.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/404.spec.ts b/test/e2e/404.spec.ts index 75c08554d..ba147d347 100644 --- a/test/e2e/404.spec.ts +++ b/test/e2e/404.spec.ts @@ -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 }) => { diff --git a/test/e2e/photos.spec.ts b/test/e2e/photos.spec.ts index fac1efccf..29bd456a7 100644 --- a/test/e2e/photos.spec.ts +++ b/test/e2e/photos.spec.ts @@ -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 }) => { diff --git a/test/e2e/post.spec.ts b/test/e2e/post.spec.ts index f2eba9c4e..d09a0e440 100644 --- a/test/e2e/post.spec.ts +++ b/test/e2e/post.spec.ts @@ -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 }) => { diff --git a/test/e2e/thanks.spec.ts b/test/e2e/thanks.spec.ts index d4fbd18bc..1f0104d3a 100644 --- a/test/e2e/thanks.spec.ts +++ b/test/e2e/thanks.spec.ts @@ -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 }) => {