Merge pull request #2558 from mhajas/js-console-stability-PR
KEYCLOAK-2780 Better stability in JSConsole test
This commit is contained in:
commit
58b66b788f
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