fix(tests): updated the today selector for issues page (#3911)

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

View File

@ -50,7 +50,7 @@ export class IssuesPage extends CommonTrackerPage {
'form[id="tracker:string:NewIssue"] div#milestone-editor button'
)
this.buttonPopupCreateNewIssueDuedate = page.locator('form[id="tracker:string:NewIssue"] div#duedate-editor button')
this.buttonDatePopupToday = page.locator('div.popup div.today')
this.buttonDatePopupToday = page.locator('div.popup div.today:not(.wrongMonth)')
this.inputPopupCreateNewIssueFile = page.locator('form[id="tracker:string:NewIssue"] input[type="file"]')
this.textPopupCreateNewIssueFile = page.locator('div[class*="attachments"] > div[class*="attachment"]')
this.buttonCreateIssue = page.locator('button > span', { hasText: 'Create issue' })