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 +}); 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 +});