Skip to content

Commit

Permalink
changes according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
SkorikSergey authored and rhopp committed Aug 20, 2019
1 parent e319cd7 commit bbfae57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/pageobjects/ide/Ide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class Ide {
}

async waitNotificationAndOpenLink(notificationText: string, timeout: number = TestConstants.TS_SELENIUM_DEFAULT_TIMEOUT) {
await this.waitApplicationReadyToUse(await this.getApplicationUrlFromNotification(notificationText));
await this.waitApllicationIsReady(await this.getApplicationUrlFromNotification(notificationText));
await this.waitNotificationAndClickOnButton(notificationText, 'Open Link', timeout);
}

Expand Down Expand Up @@ -244,7 +244,7 @@ export class Ide {
return notification.split(regexp)[1];
}

async waitApplicationReadyToUse(url: string,
async waitApllicationIsReady(url: string,
timeout: number = TestConstants.TS_SELENIUM_DEFAULT_TIMEOUT) {

await this.driverHelper.getDriver().wait(async () => {
Expand Down

0 comments on commit bbfae57

Please sign in to comment.