Merge pull request #4146 from vramik/KEYCLOAK-4926

KEYCLOAK-4926 exclude WelcomePageTest from migration scenario
This commit is contained in:
Pavel Drozd 2017-05-23 13:59:26 +02:00 committed by GitHub
commit 0a869f56a7

View file

@ -50,9 +50,16 @@ public class WelcomePageTest extends AbstractKeycloakTest {
@Page @Page
protected OIDCLogin loginPage; 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 @BeforeClass
public static void beforeWelcomePageTest() { public static void beforeWelcomePageTest() {
Assume.assumeTrue(Boolean.parseBoolean(System.getProperty("skip.add.user.json"))); Assume.assumeTrue(Boolean.parseBoolean(System.getProperty("skip.add.user.json")));
Assume.assumeFalse(Boolean.parseBoolean(System.getProperty("skip.welcome.page.test")));
} }
@Override @Override