From 38eaaceb100c3a79f7d567938b95e89b1ad453ed Mon Sep 17 00:00:00 2001 From: cquinn540 Date: Sat, 7 Dec 2024 09:46:29 -0500 Subject: [PATCH] fix: undo intentional error in getActiveSelectedOption --- frontend/test-e2e/component-objects/EventMenu.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/test-e2e/component-objects/EventMenu.ts b/frontend/test-e2e/component-objects/EventMenu.ts index 15afab324..3b36ba61a 100644 --- a/frontend/test-e2e/component-objects/EventMenu.ts +++ b/frontend/test-e2e/component-objects/EventMenu.ts @@ -71,8 +71,8 @@ export class EventMenu extends PageObjectBase { // This is probably an override too. async getActiveSelectedOption(): Promise { const selector = (await this.isMobile()) - ? "[ata-headlessui-state='active selected']" - : ".tyle-menu-option-cta"; + ? "[data-headlessui-state='active selected']" + : ".style-menu-option-cta"; return ( (await (this.options as Locator).locator(selector).textContent()) || "" );