Skip to content

Commit

Permalink
AAE-22965 fix datepicker focused element selector (#9814)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojd0 authored Jun 14, 2024
1 parent 303026d commit 0d555f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class DatePickerCalendarPage {
todayDate = TestElement.byCss(`${materialLocators.Calendar.body.today.class}`);
periodButton = $(`button[class*=${materialLocators.Calendar.button('period')}]`);

focusedElement = `div${materialLocators.Calendar.body.cell.content.class}${materialLocators.Calendar.focus}`;
focusedElement = `span${materialLocators.Calendar.body.cell.content.class}${materialLocators.Calendar.focus}`;

async getSelectedDate(): Promise<string> {
return BrowserActions.getAttribute($(`button[class*="${materialLocators.Calendar.body.active.root}"]`), 'aria-label');
Expand Down

0 comments on commit 0d555f5

Please sign in to comment.