Remove focus on feature grid section

This commit is contained in:
adilallo
2026-05-24 16:55:07 -06:00
parent b1ad3c6203
commit 59999b8211
6 changed files with 18 additions and 37 deletions
+3 -16
View File
@@ -129,24 +129,11 @@ test.describe("Critical User Journeys", () => {
featureSection.locator("text=Conflict resolution"),
).toBeVisible();
// Check feature links - Mini tiles render as <a> tags with href="#..."
// There are 4 feature cards + 1 "Learn more" link = 5 total links
// We check for the specific feature card links
// Feature tiles are presentational — only the lockup "Learn more" is a link
await expect(
featureSection.locator('a[href="#decision-making"]'),
).toBeVisible();
await expect(
featureSection.locator('a[href="#values-alignment"]'),
).toBeVisible();
await expect(
featureSection.locator('a[href="#membership-guidance"]'),
).toBeVisible();
await expect(
featureSection.locator('a[href="#conflict-resolution"]'),
).toBeVisible();
// Test feature card interactions
await page.locator('a[href="#decision-making"]').click();
).toHaveCount(0);
await expect(featureSection.getByRole("link", { name: "Learn more" })).toBeVisible();
});
test("header navigation functionality", async ({ page }) => {