Skip to content

Commit

Permalink
Merge pull request #93 from alphagov/add-llm-tags
Browse files Browse the repository at this point in the history
Add backend app tags to relevant frontend tests
  • Loading branch information
KludgeKML authored Dec 3, 2024
2 parents 3eb5d39 + 7ea283b commit 766dd2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/frontend.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test.describe("Frontend", { tag: ["@app-frontend", "@domain-www"] }, () => {
await expect(page.getByText("Electoral Services Dudley")).toBeVisible();
});

test("find your local council", async ({ page }) => {
test("find your local council", { tag: ["@app-local-links-manager", "@app-locations-api"] }, async ({ page }) => {
await page.goto("/find-local-council");
await expect(page.getByRole("heading", { name: "Find your local council" })).toBeVisible();
await page.getByLabel("Enter a postcode").fill("WV14 8TU");
Expand Down Expand Up @@ -120,15 +120,15 @@ test.describe("Frontend", { tag: ["@app-frontend", "@domain-www"] }, () => {
await expect(page.getByRole("button", { name: "Start now" })).toBeVisible();
});

test("local transaction page", async ({ page }) => {
test("local transaction page", { tag: ["@app-local-links-manager", "@app-locations-api"] }, async ({ page }) => {
await page.goto("/pay-council-tax");
await expect(page.getByRole("heading", { name: "Pay your Council Tax" })).toBeVisible();
await page.getByLabel("Enter a postcode").fill("WC2B 6NH");
await page.getByRole("button", { name: "Find" }).click();
await expect(page.getByText("London Borough of Camden", { exact: true })).toBeVisible();
});

test("place page", async ({ page }) => {
test("place page", { tag: ["@app-places-manager", "@app-locations-api"] }, async ({ page }) => {
await page.goto("/ukonline-centre-internet-access-computer-training");
await expect(page.getByRole("heading", { name: "Online Centres Network" })).toBeVisible();
await page.getByLabel("Enter a postcode").fill("WC2B 6NH");
Expand Down

0 comments on commit 766dd2a

Please sign in to comment.