From 4027f1d347cbd17248683ca7654c2ddf83e14095 Mon Sep 17 00:00:00 2001 From: John Paul Larkin <107807466+John-Paul-Larkin@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:38:13 +0100 Subject: [PATCH 1/2] add settings template --- e2e/settings.spec.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 e2e/settings.spec.ts diff --git a/e2e/settings.spec.ts b/e2e/settings.spec.ts new file mode 100644 index 00000000..1aa93631 --- /dev/null +++ b/e2e/settings.spec.ts @@ -0,0 +1,14 @@ +import test from "@playwright/test"; + +test.describe("Unauthenticated setttings Page", () => { + test.beforeEach(async ({ page }) => { + await page.context().clearCookies(); + }); + // + // Replace with tests for unauthenticated users +}); + +test.describe("Authenticated settings Page", () => { + // + // Replace with tests for authenticated users +}); From 46a71168f430d148ed2544a44c94085d77b92cf5 Mon Sep 17 00:00:00 2001 From: John Paul Larkin <107807466+John-Paul-Larkin@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:48:08 +0100 Subject: [PATCH 2/2] add my-posts template --- e2e/my-posts.spec.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 e2e/my-posts.spec.ts diff --git a/e2e/my-posts.spec.ts b/e2e/my-posts.spec.ts new file mode 100644 index 00000000..ad9d5398 --- /dev/null +++ b/e2e/my-posts.spec.ts @@ -0,0 +1,14 @@ +import test from "@playwright/test"; + +test.describe("Unauthenticated my-posts Page", () => { + test.beforeEach(async ({ page }) => { + await page.context().clearCookies(); + }); + // + // Replace with tests for unauthenticated users +}); + +test.describe("Authenticated my-posts Page", () => { + // + // Replace with tests for authenticated users +});