From 3ae4d3284710711bbb5e200733fe7a143702b385 Mon Sep 17 00:00:00 2001 From: Alex Velichko Date: Mon, 30 Oct 2023 12:29:40 +0300 Subject: [PATCH] fix(tests): updated the today selector for calendar (#3908) Signed-off-by: Alex Velichko --- tests/sanity/tests/model/recruiting/vacancy-details-page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sanity/tests/model/recruiting/vacancy-details-page.ts b/tests/sanity/tests/model/recruiting/vacancy-details-page.ts index 64a3c6fb64..d855f09c4e 100644 --- a/tests/sanity/tests/model/recruiting/vacancy-details-page.ts +++ b/tests/sanity/tests/model/recruiting/vacancy-details-page.ts @@ -23,7 +23,7 @@ export class VacancyDetailsPage extends CommonRecruitingPage { this.inputAttachFile = page.locator('div[class*="full"] input[name="file"]') this.buttonInputCompany = page.locator('button > div', { hasText: 'Company' }) this.buttonInputDueDate = page.locator('button > div', { hasText: 'Due date' }) - this.buttonDatePopupToday = page.locator('div.popup div.today') + this.buttonDatePopupToday = page.locator('div.popup div.today:not(.wrongMonth)') this.buttonDatePopupSave = page.locator('div.popup button[type="submit"]') this.inputComment = page.locator('div.text-input div.tiptap') }