Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -532,16 +532,16 @@ public void propertiesRealmCreate() throws Exception {

crud.create(propertiesRealmAddress(PROP_RLM_CREATE), table, f -> {
f.text(NAME, PROP_RLM_CREATE);
f.text(PATH, APP_USERS_PROPS);
f.text(RELATIVE_TO, JBOSS_SRV_CONFIG_DIR);
f.text(USERS_PROPERTIES + PATH, APP_USERS_PROPS);
f.text(USERS_PROPERTIES + RELATIVE_TO, JBOSS_SRV_CONFIG_DIR);
});
}

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

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void keyManagerCreate() throws Exception {
crud.create(keyManagerAddress(KEY_MAN_CREATE), table, f -> {
f.text(NAME, KEY_MAN_CREATE);
f.text(KEY_STORE, KEY_ST_UPDATE);
f.text(CLEAR_TEXT, ANY_STRING);
f.text(CREDENTIAL_REFERENCE + CLEAR_TEXT, ANY_STRING);
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void credentialStoreCreate() throws Exception {
f.text(NAME, CRED_ST_CREATE);
f.text(PATH, ANY_STRING);
f.flip(CREATE, true);
f.text(CLEAR_TEXT, ANY_STRING);
f.text(CREDENTIAL_REFERENCE + CLEAR_TEXT, ANY_STRING);
});
}

Expand All @@ -103,7 +103,7 @@ public void credentialStoreTryCreate() {
crud.createWithErrorAndCancelDialog(table, f -> {
f.text(NAME, CRED_ST_CREATE);
f.flip(CREATE, true);
}, CLEAR_TEXT);
}, CREDENTIAL_REFERENCE + CLEAR_TEXT);
}

@Test
Expand Down Expand Up @@ -191,7 +191,7 @@ public void keyStoreCreate() throws Exception {
crud.create(keyStoreAddress(KEY_ST_CREATE), table, f -> {
f.text(NAME, KEY_ST_CREATE);
f.text(TYPE, JKS);
f.text(CLEAR_TEXT, ANY_STRING);
f.text(CREDENTIAL_REFERENCE + CLEAR_TEXT, ANY_STRING);
});
}

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

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

@Test
Expand Down