Skip to content

Commit 3921f34

Browse files
authored
Merge pull request #213 from dcihak/nested_attrs_tests_master
[EAPQE-3195] LdapRealmTest, SecurityRealmsTest, SslSettingsTest and StoresSettingsTest fixed due to the nested attributes changes
2 parents d2cf467 + 5943b7a commit 3921f34

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tests-configuration-elytron/src/test/java/org/jboss/hal/testsuite/test/configuration/elytron/SecurityRealmsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,16 +532,16 @@ public void propertiesRealmCreate() throws Exception {
532532

533533
crud.create(propertiesRealmAddress(PROP_RLM_CREATE), table, f -> {
534534
f.text(NAME, PROP_RLM_CREATE);
535-
f.text(PATH, APP_USERS_PROPS);
536-
f.text(RELATIVE_TO, JBOSS_SRV_CONFIG_DIR);
535+
f.text(USERS_PROPERTIES + PATH, APP_USERS_PROPS);
536+
f.text(USERS_PROPERTIES + RELATIVE_TO, JBOSS_SRV_CONFIG_DIR);
537537
});
538538
}
539539

540540
@Test
541541
public void propertiesRealmTryCreate() throws Exception {
542542
console.verticalNavigation().selectSecondary(SECURITY_REALM_ITEM, PROPERTIES_REALM_ITEM);
543543
TableFragment table = page.getPropertiesRealmTable();
544-
crud.createWithErrorAndCancelDialog(table, f -> f.text(NAME, PROP_RLM_CREATE), PATH);
544+
crud.createWithErrorAndCancelDialog(table, f -> f.text(NAME, PROP_RLM_CREATE), USERS_PROPERTIES + PATH);
545545
}
546546

547547
@Test

tests-configuration-elytron/src/test/java/org/jboss/hal/testsuite/test/configuration/elytron/other/settings/SslSettingsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void keyManagerCreate() throws Exception {
176176
crud.create(keyManagerAddress(KEY_MAN_CREATE), table, f -> {
177177
f.text(NAME, KEY_MAN_CREATE);
178178
f.text(KEY_STORE, KEY_ST_UPDATE);
179-
f.text(CLEAR_TEXT, ANY_STRING);
179+
f.text(CREDENTIAL_REFERENCE + CLEAR_TEXT, ANY_STRING);
180180
});
181181
}
182182

tests-configuration-elytron/src/test/java/org/jboss/hal/testsuite/test/configuration/elytron/other/settings/StoresSettingsTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void credentialStoreCreate() throws Exception {
9191
f.text(NAME, CRED_ST_CREATE);
9292
f.text(PATH, ANY_STRING);
9393
f.flip(CREATE, true);
94-
f.text(CLEAR_TEXT, ANY_STRING);
94+
f.text(CREDENTIAL_REFERENCE + CLEAR_TEXT, ANY_STRING);
9595
});
9696
}
9797

@@ -103,7 +103,7 @@ public void credentialStoreTryCreate() {
103103
crud.createWithErrorAndCancelDialog(table, f -> {
104104
f.text(NAME, CRED_ST_CREATE);
105105
f.flip(CREATE, true);
106-
}, CLEAR_TEXT);
106+
}, CREDENTIAL_REFERENCE + CLEAR_TEXT);
107107
}
108108

109109
@Test
@@ -191,7 +191,7 @@ public void keyStoreCreate() throws Exception {
191191
crud.create(keyStoreAddress(KEY_ST_CREATE), table, f -> {
192192
f.text(NAME, KEY_ST_CREATE);
193193
f.text(TYPE, JKS);
194-
f.text(CLEAR_TEXT, ANY_STRING);
194+
f.text(CREDENTIAL_REFERENCE + CLEAR_TEXT, ANY_STRING);
195195
});
196196
}
197197

@@ -200,7 +200,7 @@ public void keyStoreTryCreate() {
200200
console.verticalNavigation().selectSecondary(STORES_ITEM, KEY_STORE_ITEM);
201201
TableFragment table = page.getKeyStoreTable();
202202

203-
crud.createWithErrorAndCancelDialog(table, f -> f.text(NAME, KEY_ST_CREATE), CLEAR_TEXT);
203+
crud.createWithErrorAndCancelDialog(table, f -> f.text(NAME, KEY_ST_CREATE), CREDENTIAL_REFERENCE + CLEAR_TEXT);
204204
}
205205

206206
@Test

0 commit comments

Comments
 (0)