Skip to content

Commit c5727c7

Browse files
committed
Updating URL for Selenified tests (still not working in JDK 12 though!)
1 parent ce0f52a commit c5727c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/selenified_tests/java/com/coveros/training/selenified/SelenifiedSample.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
public class SelenifiedSample extends Selenified {
1616

1717
static final String BASE_URL = "http://localhost:8080/demo/";
18+
static final String LIBRARY_URL = BASE_URL + "library";
1819
static final String RESET_DATABASE_URL = BASE_URL + "flyway";
1920

2021
@BeforeClass(alwaysRun = true)
2122
public void beforeClass(ITestContext test) {
2223
// set the base URL for the tests here
23-
setAppURL(this, test, BASE_URL);
24+
setAppURL(this, test, LIBRARY_URL);
2425
}
2526

2627
@Test(groups = {"sample"}, description = "Check that the title on the page is as expected")
@@ -42,7 +43,7 @@ public void sampleTest2() {
4243
App app = this.apps.get();
4344

4445
app.goToURL(RESET_DATABASE_URL);
45-
app.goToURL(BASE_URL);
46+
app.goToURL(LIBRARY_URL);
4647

4748
// find the register user field and enter a username to register
4849
Element register_username = app.newElement(Locator.ID, "register_username");

0 commit comments

Comments
 (0)