Skip to content

Commit

Permalink
Use Id selector for the navigator callapse all button instead of css …
Browse files Browse the repository at this point in the history
…selector
  • Loading branch information
vinokurig committed Sep 29, 2020
1 parent af9157d commit 3188c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/pageobjects/ide/ProjectTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3188c7e

Please sign in to comment.