Use Id selector for the navigator callapse all button instead of css selector (#17982)
parent
982a0a148c
commit
ae0d569dcf
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue