From 48dd77160499fc36b0e9cbc2295db5840dd022b9 Mon Sep 17 00:00:00 2001 From: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Date: Thu, 4 Jul 2024 06:26:21 -0700 Subject: [PATCH] fix(e2e): match footer items exactly (#55419) --- e2e/footer.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/footer.spec.ts b/e2e/footer.spec.ts index 3125239b6f1..50745b491fd 100644 --- a/e2e/footer.spec.ts +++ b/e2e/footer.spec.ts @@ -152,7 +152,7 @@ test.describe('Footer bottom section', () => { } for (const item of BOTTOM_LINKS) { - const link = page.getByRole('link', { name: item.title }); + const link = page.getByRole('link', { name: item.title, exact: true }); await expect(link).toBeVisible(); await expect(link).toHaveAttribute('href', item.href);