Skip to content

Commit

Permalink
Update 'CheCodeLocatorLoader' to add new locator
Browse files Browse the repository at this point in the history
  • Loading branch information
artaleks9 committed Oct 23, 2023
1 parent 11c601d commit 6f14637
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/pageobjects/ide/CheCodeLocatorLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@ export class CheCodeLocatorLoader extends LocatorLoader {
button: By.xpath('//div[@class="monaco-dialog-box"]//a[@class="monaco-button monaco-text-button"]')
},
ScmView: {
actionConstructor: (title: string): By => By.xpath(`.//a[@title="${title}"]`)
actionConstructor: (title: string): By => By.xpath(`.//a[@title='${title}']`)
}
},
extras: {
ExtensionsViewSection: {
requireReloadButton: By.xpath('//a[text()="Reload Required"]')
},
TreeItem: {
projectFolderItem: By.xpath('.//div[contains(@class, "rootfolder-icon projects-name-dir")]')
}
}
};
Expand Down

0 comments on commit 6f14637

Please sign in to comment.