fix(e2e): match footer items exactly (#55419)

pull/55325/head^2
Huyen Nguyen 2024-07-04 06:26:21 -07:00 committed by GitHub
parent 1570fbf702
commit 48dd771604
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);