Link every Home feature card to the page that covers it, and keep Ask an organizer from adding a second heading.

This commit is contained in:
adilallo committed 2026-11-12 17:09:48 -07:00
1 parent d3acd9aa9a
commit dc9625c3b2
9 files changed
+119 -49

No files matched your search

+5 -11
View File
@@ -59,13 +59,7 @@ test.describe("Critical User Journeys", () => {
];
for (const feature of features) {
const featureElement = page.locator(`text=${feature}`);
if (
(await featureElement.count()) > 0 &&
(await featureElement.first().isVisible())
) {
await featureElement.first().click();
}
await expect(page.getByText(feature).first()).toBeVisible();
}
// 8. User reads testimonial
@@ -134,16 +128,16 @@ test.describe("Critical User Journeys", () => {
).toHaveCount(0);
await expect(
featureSection.getByRole("link", { name: "Choose how you decide" }),
).toHaveCount(0);
await expect(
featureSection.getByRole("link", { name: "Plan for conflict" }),
).toHaveCount(0);
).toHaveAttribute("href", "/blog/making-decisions-without-hierarchy");
await expect(
featureSection.getByRole("link", { name: "Name your values" }),
).toHaveAttribute("href", "/how-it-works");
await expect(
featureSection.getByRole("link", { name: "Define membership" }),
).toHaveAttribute("href", "/blog/integrating-new-members-without-dilution");
await expect(
featureSection.getByRole("link", { name: "Plan for conflict" }),
).toHaveAttribute("href", "/blog/resolving-active-conflicts");
await expect(
featureSection.getByRole("link", { name: "Explore the patterns" }),
).toHaveAttribute("href", "/templates");