From ed17e5a4edc5167021395d3c880940cb3af82ae7 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Thu, 1 Aug 2024 11:36:56 +0100 Subject: [PATCH] Don't test robots or redirects on mirrors The mirrors currently don't support these features. --- tests/origin.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/origin.spec.js b/tests/origin.spec.js index e0dee57..72dec3d 100644 --- a/tests/origin.spec.js +++ b/tests/origin.spec.js @@ -17,12 +17,12 @@ test.describe("Origin", () => { expect(response.status()).toBe(403); }); - test("Check robots.txt loads", { tag: ["@worksonmirror"] }, async ({ page }) => { + test("Check robots.txt loads", async ({ page }) => { await page.goto("/robots.txt"); await expect(page.getByText("User-agent:")).toBeVisible(); }); - test("Check redirects work", { tag: ["@worksonmirror"] }, async ({ page }) => { + test("Check redirects work", async ({ page }) => { await page.goto("/workplacepensions"); await expect(page).toHaveURL("/workplace-pensions"); });