mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(landing): restore Developers nav link, swap out Features anchor (#474)
Restores Developers to the top nav by swapping out the Features homepage anchor. Nav is now Enterprise, Pricing, Alternatives, Developers, Docs, Talk to a human. Updated two e2e assertions that checked for a Features nav link. Verified visually at 1120/1280px and 62/62 landing e2e.
This commit is contained in:
@@ -11,7 +11,14 @@ test.describe("Landing Homepage", () => {
|
||||
|
||||
test("navbar renders brand and navigation links", async ({ page }) => {
|
||||
await expect(page.getByText("SnapOtter").first()).toBeVisible();
|
||||
for (const name of ["Features", "Enterprise", "Pricing", "Docs", "Talk to a human"]) {
|
||||
for (const name of [
|
||||
"Enterprise",
|
||||
"Pricing",
|
||||
"Alternatives",
|
||||
"Developers",
|
||||
"Docs",
|
||||
"Talk to a human",
|
||||
]) {
|
||||
await expect(page.getByRole("link", { name }).first()).toBeVisible();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -43,7 +43,7 @@ test.describe("Mobile Navigation", () => {
|
||||
await page.goto("/");
|
||||
const toggle = page.getByLabel("Toggle menu");
|
||||
await toggle.click();
|
||||
await expect(page.getByRole("link", { name: "Features" }).last()).toBeVisible();
|
||||
await expect(page.getByRole("link", { name: "Developers" }).last()).toBeVisible();
|
||||
await expect(page.getByRole("link", { name: "Enterprise" }).last()).toBeVisible();
|
||||
await expect(page.getByRole("link", { name: "Pricing" }).last()).toBeVisible();
|
||||
await expect(page.getByRole("link", { name: "Docs" }).last()).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user