Merge pull request #4146 from vramik/KEYCLOAK-4926
KEYCLOAK-4926 exclude WelcomePageTest from migration scenario
This commit is contained in:
commit
0a869f56a7
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue