From 2d3a75192233601877e2a22fa4355dc105ee1bd0 Mon Sep 17 00:00:00 2001 From: Alex Velichko Date: Mon, 30 Oct 2023 14:15:53 +0300 Subject: [PATCH] fix(tests): updated the today selector for issues page (#3911) Signed-off-by: Alex Velichko --- tests/sanity/tests/model/tracker/issues-page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sanity/tests/model/tracker/issues-page.ts b/tests/sanity/tests/model/tracker/issues-page.ts index d43bf14df6..173d124fa7 100644 --- a/tests/sanity/tests/model/tracker/issues-page.ts +++ b/tests/sanity/tests/model/tracker/issues-page.ts @@ -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' })