Skip to content

Commit

Permalink
fix: undo intentional error in getActiveSelectedOption
Browse files Browse the repository at this point in the history
  • Loading branch information
cquinn540 committed Dec 7, 2024
1 parent 17e899e commit 38eaace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/test-e2e/component-objects/EventMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export class EventMenu extends PageObjectBase {
// This is probably an override too.
async getActiveSelectedOption(): Promise<string> {
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()) || ""
);
Expand Down

0 comments on commit 38eaace

Please sign in to comment.