From a25fd90eee8e1d482cdc09fb42a0a30e2d368755 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 22f1eca63a..1c5a1ac2f2 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}`;