From d730da757e2249f502d0cce446a1910349e614c1 Mon Sep 17 00:00:00 2001 From: mhajas Date: Fri, 1 Apr 2016 12:17:39 +0200 Subject: [PATCH] Better stability in JSConsole test --- .../adapter/example/AbstractJSConsoleExampleAdapterTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/example/AbstractJSConsoleExampleAdapterTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/example/AbstractJSConsoleExampleAdapterTest.java index e4c9226f97..e0d87f7b7f 100755 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/example/AbstractJSConsoleExampleAdapterTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/example/AbstractJSConsoleExampleAdapterTest.java @@ -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")); }