From 04fa2ca7771a0a35c7ee4d9f56accb57d15bdeb8 Mon Sep 17 00:00:00 2001 From: Alex Velichko Date: Tue, 6 Feb 2024 18:13:26 +0300 Subject: [PATCH] feat(tests): updated close issue selector (#4551) 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')