From f0386d9374b47f321104182cb86248009fff0827 Mon Sep 17 00:00:00 2001 From: vramik Date: Thu, 18 May 2017 14:10:23 +0200 Subject: [PATCH] KEYCLOAK-4926 exclude WelcomePageTest from migration scenario --- .../keycloak/testsuite/welcomepage/WelcomePageTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/welcomepage/WelcomePageTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/welcomepage/WelcomePageTest.java index 0411ce96fe..c11168e5fa 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/welcomepage/WelcomePageTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/welcomepage/WelcomePageTest.java @@ -50,9 +50,16 @@ public class WelcomePageTest extends AbstractKeycloakTest { @Page protected OIDCLogin loginPage; + /* + * Assume adding user is skipped. + * + * Assume we are not testing migration. In migration scenario there is admin user + * migrated from previous version. + */ @BeforeClass public static void beforeWelcomePageTest() { Assume.assumeTrue(Boolean.parseBoolean(System.getProperty("skip.add.user.json"))); + Assume.assumeFalse(Boolean.parseBoolean(System.getProperty("skip.welcome.page.test"))); } @Override