From 0666141e54fdd9102a83872661218a546ee5f22a Mon Sep 17 00:00:00 2001 From: dougfabris Date: Wed, 31 Jul 2024 13:59:47 -0300 Subject: [PATCH] fix: missing `exact` in locator --- apps/meteor/tests/e2e/page-objects/fragments/home-sidenav.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/tests/e2e/page-objects/fragments/home-sidenav.ts b/apps/meteor/tests/e2e/page-objects/fragments/home-sidenav.ts index c71cf70627668..0f17b7ccb5d47 100644 --- a/apps/meteor/tests/e2e/page-objects/fragments/home-sidenav.ts +++ b/apps/meteor/tests/e2e/page-objects/fragments/home-sidenav.ts @@ -10,7 +10,7 @@ export class HomeSidenav { } get advancedSettingsAccordion(): Locator { - return this.page.getByRole('dialog').getByRole('button', { name: 'Advanced settings' }); + return this.page.getByRole('dialog').getByRole('button', { name: 'Advanced settings', exact: true }); } get checkboxPrivateChannel(): Locator {