Skip to content

Commit

Permalink
Merge pull request #197 from OndrejKotek/HAL-1910
Browse files Browse the repository at this point in the history
HAL-1910 Fix/migrate tests-hal-basic tests of testsuite.next
  • Loading branch information
hpehl authored Nov 22, 2023
2 parents fd20c14 + eacbf20 commit bae3e34
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
*.testsuite.properties
target
testsuite.properties
work
work
.mvn/wrapper/maven-wrapper.jar
Binary file removed .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ public void testEmptyInput() {

setTitleAndReloadPage("");

Assert.assertEquals(HAL_MANAGEMENT_CONSOLE, browser.getTitle());
// The default title is derived by browser from ts.html that is used in the test suite instead of index.html
Assert.assertEquals(HAL_TEST_SUITE, browser.getTitle());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public void modules() {
assertTrue(containsModule("Configuration"));
assertTrue(containsModule("Runtime"));
assertTrue(containsModule("Access Control"));
assertTrue(containsModule("Patching"));

By selector = ByJQuery.selector(".eap-home-module-header > h2" + contains("Need Help?"));
assertTrue(page.getRootContainer().findElement(selector).isDisplayed());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ public void standaloneWizardNavigation() throws Exception {
.verifyNext(ACCESS_CONTROL_TITLE, "By default, EAP uses simple access controls",
finderPlace(NameTokens.ACCESS_CONTROL, null))
.verifyNext(ACCESS_CONTROL_TITLE, "Add and assign roles to users and groups.",
finderPlace(NameTokens.ACCESS_CONTROL, new FinderPath().append(Ids.ACCESS_CONTROL_BROWSE_BY, "users")))
finderPlace(NameTokens.ACCESS_CONTROL, new FinderPath().append(Ids.ACCESS_CONTROL_BROWSE_BY, Ids.ACCESS_CONTROL_BROWSE_BY + "-" + "users")))
.verifyNext(ACCESS_CONTROL_TITLE, "Manage the list of roles",
finderPlace(NameTokens.ACCESS_CONTROL, new FinderPath().append(Ids.ACCESS_CONTROL_BROWSE_BY, "roles")))
finderPlace(NameTokens.ACCESS_CONTROL, new FinderPath().append(Ids.ACCESS_CONTROL_BROWSE_BY, Ids.ACCESS_CONTROL_BROWSE_BY + "-" + "roles")))
.verifyFinish();
}
}
Expand Down

0 comments on commit bae3e34

Please sign in to comment.