feat(tests): updated close issue selector (#4551)

Signed-off-by: Alex Velichko <nestor_007@mail.ru>
This commit is contained in:
Alex Velichko 2024-02-06 18:13:26 +03:00 committed by GitHub
parent 68d7a5b5b7
commit 04fa2ca777
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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