From 129236b4388fd9dfe7244e1005f1f29be33b89ba Mon Sep 17 00:00:00 2001 From: Alex Velichko Date: Tue, 6 Feb 2024 15:32:24 +0300 Subject: [PATCH] feat(tests): updated close issue selector Signed-off-by: Alex Velichko --- tests/sanity/tests/model/tracker/issues-details-page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sanity/tests/model/tracker/issues-details-page.ts b/tests/sanity/tests/model/tracker/issues-details-page.ts index 38233d5441..426f5e1142 100644 --- a/tests/sanity/tests/model/tracker/issues-details-page.ts +++ b/tests/sanity/tests/model/tracker/issues-details-page.ts @@ -36,7 +36,7 @@ export class IssuesDetailsPage extends CommonTrackerPage { this.textEstimation = page.locator('//span[text()="Estimation"]/following-sibling::div[1]/button/span') this.buttonEstimation = page.locator('(//span[text()="Estimation"]/../div/button)[3]') this.buttonCreatedBy = page.locator('(//span[text()="Assignee"]/../div/button)[1]') - this.buttonCloseIssue = page.locator('div.popupPanel-title > button') + this.buttonCloseIssue = page.locator('#btnPClose') this.textParentTitle = page.locator('span.issue-title') this.buttonAddSubIssue = page.locator('#add-sub-issue') this.textRelated = page.locator('//span[text()="Related"]/following-sibling::div[1]/div//span')