Merge pull request #2558 from mhajas/js-console-stability-PR

KEYCLOAK-2780 Better stability in JSConsole test
This commit is contained in:
Stian Thorgersen 2016-04-11 07:12:22 +02:00
commit 58b66b788f

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"));
}