KEYCLOAK-4926 exclude WelcomePageTest from migration scenario

This commit is contained in:
vramik 2017-05-18 14:10:23 +02:00
parent 86f95d3f87
commit f0386d9374

View file

@ -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