Skip to content

Commit

Permalink
Don't test robots or redirects on mirrors
Browse files Browse the repository at this point in the history
The mirrors currently don't support these features.
  • Loading branch information
theseanything committed Aug 1, 2024
1 parent 8909f17 commit ed17e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/origin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit ed17e5a

Please sign in to comment.