Skip to content

Commit 78faaf1

Browse files
committed
fix: update button aria-label
1 parent eaa894b commit 78faaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/playwright/homepage.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const makeMenuVisible = async (page, isMobile) => {
2020
// This happens on mobile viewports
2121
if (hasHiddenClass) {
2222
// Click the hamburger button to open the menu
23-
await page.locator('button[aria-controls="menuItems"]').click();
23+
await page.locator('button[aria-label="Main"]').click();
2424

2525
// Wait for mobile menu animation
2626
//await page.waitForTimeout(1000);

0 commit comments

Comments
 (0)