Skip to content

Commit

Permalink
Update process.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed Dec 27, 2024
1 parent 7c3487c commit 95ffff3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions frontend/tests/e2e/process.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,15 @@ test("can view banner and return to top after scrolling to the bottom", async ({
});

test("can view the 'Search interface launch'", async ({ page }) => {
await page
.getByRole("link", { name: "Try the new simpler search" })
.click();
await page.getByRole("link", { name: "Try the new simpler search" }).click();

await expect(page).toHaveURL(
/search/,
);
await expect(page).toHaveURL(/search/);
});

test("can view the 'get involved' link", async ({ page }) => {
await page
.getByRole("link", { name: "Get involved in our open-source community" })
.click();

await expect(page).toHaveTitle(
/Process | Simpler.Grants.gov/,
);
await expect(page).toHaveTitle(/Process | Simpler.Grants.gov/);
});

0 comments on commit 95ffff3

Please sign in to comment.