Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions appium/tests/screenobjects/create-key.screen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ class CreateKeyScreen extends BaseScreen {
}

setPassPhrase(text: string = CommonData.account.passPhrase) {
// retrying several times because following login, we switch
// from webview to our own view and then to another one several
// times, which was causing flaky tests. Originally we did a 10s
// delay but now instead we're retrying once per second until
// we see what we expect.
let count = 0;
do {
browser.pause(1000);
count++;
} while(this.enterPassPhraseField.isDisplayed() !== true && count <= 15);
this.fillPassPhrase(text);
this.clickSetPassPhraseBtn();
this.confirmPassPhrase(text);
Expand Down
2 changes: 1 addition & 1 deletion appium/tests/screenobjects/splash.screen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class SplashScreen extends BaseScreen {
this.clickContinueBtn();
this.changeLanguage();
this.gmailLogin(email, password);
browser.pause(10000); // STABILITY FIX UNTIL WE WLL FIGURE OUT WITH ISSUE
ElementHelper.waitElementInvisible(this.signInAsGoogleAccounLabel);
}
}

Expand Down