KEYCLOAK-4926 exclude WelcomePageTest from migration scenario
This commit is contained in:
parent
86f95d3f87
commit
f0386d9374
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue