Skip to content

Commit

Permalink
Merge pull request #210 from OndrejKotek/wf35
Browse files Browse the repository at this point in the history
Updates for WF 35 / console 3.7.5
  • Loading branch information
kstekovi authored Oct 25, 2024
2 parents cc0cd74 + dac2fdf commit d2cf467
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void create() throws Exception {
crud.create(ldapRealmAddress(LDAP_RLM_CREATE), table, f -> {
f.text(NAME, LDAP_RLM_CREATE);
f.text(DIR_CONTEXT, DIR_UPDATE);
f.text(RDN_IDENTIFIER, ANY_STRING);
f.text(IDENTITY_MAPPING + RDN_IDENTIFIER, ANY_STRING);
});
}

Expand All @@ -187,7 +187,7 @@ public void tryCreate() throws Exception {
TableFragment table = page.getLdapRealmTable();
crud.createWithErrorAndCancelDialog(table, f -> {
f.text(NAME, LDAP_RLM_CREATE);
f.text(RDN_IDENTIFIER, ANY_STRING);
f.text(IDENTITY_MAPPING + RDN_IDENTIFIER, ANY_STRING);
}, DIR_CONTEXT);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public static void beforeTests() throws Exception {
ModelNode MECH_CONF_DELETE_MODEL = new ModelNode();

FILTER_CREATE_MODEL.get(PATTERN_FILTER).set(FILTERS_CREATE);
FILTER_CREATE_MODEL.get(ENABLING).set(true);
FILTER_UPDATE_MODEL.get(PATTERN_FILTER).set(FILTERS_UPDATE);
FILTER_UPDATE_MODEL.get(ENABLING).set(true);
FILTER_UPDATE2_MODEL.get(PATTERN_FILTER).set(FILTERS_UPDATE2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public void securityDomainRealmsTryCreate() {
waitGui().until().element(table.getRoot()).is().visible();

try {
crud.createWithErrorAndCancelDialog(table, f -> f.text("role-decoder", ANY_STRING), REALM);
crud.createWithErrorAndCancelDialog(table, f -> f.text(REALM, ""), REALM);
} finally {
// getting rid of action selection
page.getSecurityDomainPages().breadcrumb().getBackToMainPage();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void setUp() {
public void topLevelCategories() {
HeaderFragment header = console.header();
List<WebElement> topLevelCategories = header.getTopLevelCategories();
assertEquals(6, topLevelCategories.size());
assertEquals(5, topLevelCategories.size());
assertEquals(Ids.TLC_HOMEPAGE, header.getSelectedTopLevelCategory().getAttribute("id"));

assertTrue(containsTopLevelCategory(topLevelCategories, Ids.TLC_HOMEPAGE));
Expand Down

0 comments on commit d2cf467

Please sign in to comment.