Better stability in JSConsole test

This commit is contained in:
mhajas 2016-04-01 12:17:39 +02:00
parent def40448ac
commit d730da757e

View file

@ -168,6 +168,7 @@ public abstract class AbstractJSConsoleExampleAdapterTest extends AbstractExampl
jsConsoleExamplePage.init();
jsConsoleExamplePage.getProfile();
pause(500);
assertTrue(jsConsoleExamplePage.getOutputText().contains("Failed to load profile"));
jsConsoleExamplePage.logIn();
@ -306,7 +307,7 @@ public abstract class AbstractJSConsoleExampleAdapterTest extends AbstractExampl
logInAndInit("implicit");
pause(5000);
pause(6000);
assertTrue(jsConsoleExamplePage.getEventsText().contains("Access token expired"));
}