final website is ready babeeehhhh

This commit is contained in:
2026-10-05 23:57:08 -04:00
parent 845d846808
commit 53f8a961c0
17 changed files with 126 additions and 252 deletions
+8 -6
View File
@@ -81,22 +81,24 @@ test("desktop navigation, anchored CTA and browser back work", async ({
).toHaveAttribute("aria-current", "page");
await page
.locator(".contact-banner")
.getByRole("link", { name: "Talk to us", exact: true })
.getByRole("link", { name: "Text us on WhatsApp", exact: true })
.click();
await expect(page).toHaveURL("/contact#whatsapp");
await expect(page.locator("#whatsapp")).toBeInViewport();
await expect(
page.getByRole("button", { name: "Talk to us", exact: true }),
).toBeDisabled();
page
.locator(".whatsapp")
.getByRole("link", { name: "Text us on WhatsApp", exact: true }),
).toHaveAttribute("href", /wa\.me/);
await expect(page.locator("#whatsapp-status")).toContainText(
"number to be supplied",
"Opens WhatsApp",
);
await page.goBack();
await expect(page).toHaveURL("/fabrics");
await page.goto("/contact#whatsapp");
await page
.locator(".contact-banner")
.getByRole("link", { name: "Talk to us", exact: true })
.getByRole("link", { name: "Text us on WhatsApp", exact: true })
.click();
await expect(page.locator("#whatsapp")).toBeInViewport();
});
@@ -240,7 +242,7 @@ test("home and products heroes cycle through four product images", async ({
await expect(page.getByText("Women’s wear", { exact: true })).toBeVisible();
});
test("capacity values roll in opposite directions and settle at 60–70", async ({
test("capacity values roll in opposite directions and settle at 60-70", async ({
page,
}) => {
for (const path of ["/", "/fabrics"]) {