Use Id selector for the navigator callapse all button instead of css selector (#17982)

7.20.x
Igor Vinokur 2020-09-29 22:35:30 +03:00 committed by GitHub
parent 982a0a148c
commit ae0d569dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export class ProjectTree {
async clickCollapseAllButton() {
Logger.debug('ProjectTree.clickCollapseAllButton');
const collapseAllButtonLocator: By = By.css('div.theia-sidepanel-toolbar div.theia-collapse-all-icon');
const collapseAllButtonLocator: By = By.id('navigator.collapse.all');
await this.driverHelper.waitAndClick(collapseAllButtonLocator);
}