mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-14 17:58:44 +00:00
AAE-22965 fix datepicker focused element selector (#9814)
This commit is contained in:
committed by
VitoAlbano
parent
e0f0ed3144
commit
1709c5bdae
@@ -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');
|
||||
|
Reference in New Issue
Block a user