[TS_SELENIUM] Update methods for waiting application readiness inside of workspace (#15596)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>7.20.x
parent
a5dcbfbb70
commit
dfdc304120
|
|
@ -75,7 +75,7 @@ export class DialogWindow {
|
|||
Logger.debug('DialogWindow.waitDialogAndOpenLink');
|
||||
|
||||
await this.waitDialog(timeout, dialogText);
|
||||
await this.ide.waitApllicationIsReady(await this.getApplicationUrlFromDialog(dialogText));
|
||||
await this.ide.waitApllicationIsReady(await this.getApplicationUrlFromDialog(dialogText), timeout);
|
||||
await this.clickToOpenLinkButton();
|
||||
await this.waitDialogDissappearance();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,7 +83,8 @@ export class Ide {
|
|||
async waitNotificationAndOpenLink(notificationText: string, timeout: number = TestConstants.TS_SELENIUM_DEFAULT_TIMEOUT) {
|
||||
Logger.debug(`Ide.waitNotificationAndOpenLink "${notificationText}"`);
|
||||
|
||||
await this.waitApllicationIsReady(await this.getApplicationUrlFromNotification(notificationText));
|
||||
await this.waitNotification(notificationText, timeout);
|
||||
await this.waitApllicationIsReady(await this.getApplicationUrlFromNotification(notificationText), timeout);
|
||||
await this.waitNotificationAndClickOnButton(notificationText, 'Open Link', timeout);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue