Better stability in JSConsole test
This commit is contained in:
parent
def40448ac
commit
d730da757e
1 changed files with 2 additions and 1 deletions
|
@ -168,6 +168,7 @@ public abstract class AbstractJSConsoleExampleAdapterTest extends AbstractExampl
|
||||||
|
|
||||||
jsConsoleExamplePage.init();
|
jsConsoleExamplePage.init();
|
||||||
jsConsoleExamplePage.getProfile();
|
jsConsoleExamplePage.getProfile();
|
||||||
|
pause(500);
|
||||||
assertTrue(jsConsoleExamplePage.getOutputText().contains("Failed to load profile"));
|
assertTrue(jsConsoleExamplePage.getOutputText().contains("Failed to load profile"));
|
||||||
|
|
||||||
jsConsoleExamplePage.logIn();
|
jsConsoleExamplePage.logIn();
|
||||||
|
@ -306,7 +307,7 @@ public abstract class AbstractJSConsoleExampleAdapterTest extends AbstractExampl
|
||||||
|
|
||||||
logInAndInit("implicit");
|
logInAndInit("implicit");
|
||||||
|
|
||||||
pause(5000);
|
pause(6000);
|
||||||
|
|
||||||
assertTrue(jsConsoleExamplePage.getEventsText().contains("Access token expired"));
|
assertTrue(jsConsoleExamplePage.getEventsText().contains("Access token expired"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue