From aed7aaf7cb4b73862adc8dfbcda1347c1dabf1d4 Mon Sep 17 00:00:00 2001 From: Ehsan Rezaei Date: Fri, 3 May 2024 09:37:25 +0200 Subject: [PATCH] Updated today date selector --- .../protractor/core/pages/material/date-picker-calendar.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/testing/src/lib/protractor/core/pages/material/date-picker-calendar.page.ts b/lib/testing/src/lib/protractor/core/pages/material/date-picker-calendar.page.ts index 79e0c30244a..2f9c6d75ae9 100644 --- a/lib/testing/src/lib/protractor/core/pages/material/date-picker-calendar.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/material/date-picker-calendar.page.ts @@ -26,7 +26,7 @@ export class DatePickerCalendarPage { datePicker = $(`${materialLocators.Calendar.root}[id*="${materialLocators.Datepicker.root}"]`); nextMonthButton = $(`button[class*="${materialLocators.Calendar.button('next')}"]`); previousMonthButton = $(`button[class*="${materialLocators.Calendar.button('previous')}"]`); - todayDate = TestElement.byCss(`div${materialLocators.Calendar.body.today.class}`); + todayDate = TestElement.byCss(`${materialLocators.Calendar.body.today.class}`); periodButton = $(`button[class*=${materialLocators.Calendar.button('period')}]`); focusedElement = `div${materialLocators.Calendar.body.cell.content.class}${materialLocators.Focus.indicator}`;