Skip to content

Commit

Permalink
Change selector at clicking on terminal tab
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
  • Loading branch information
RomanNikitenko committed Sep 24, 2020
1 parent 60566a1 commit 914ee55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/pageobjects/ide/Terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class Terminal {
async clickOnTab(tabTitle: string, timeout: number = TimeoutConstants.TS_SELENIUM_TERMINAL_DEFAULT_TIMEOUT) {
Logger.debug(`Terminal.clickOnTab "${tabTitle}"`);

const terminalTabLocator: By = By.css(this.getTerminalTabCssLocator(tabTitle));
const terminalTabLocator: By = By.css(`${this.getTerminalTabCssLocator(tabTitle)} div.theia-tab-icon-label`);

await this, this.driverHelper.waitAndClick(terminalTabLocator, timeout);
}
Expand Down

0 comments on commit 914ee55

Please sign in to comment.