fix(tests): updated the today selector for calendar (#3908)

Signed-off-by: Alex Velichko <nestor_007@mail.ru>
This commit is contained in:
Alex Velichko 2023-10-30 12:29:40 +03:00 committed by GitHub
parent 3b2de9ace9
commit 3ae4d32847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
}