File tree 1 file changed +3
-2
lines changed
src/selenified_tests/java/com/coveros/training/selenified
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
public class SelenifiedSample extends Selenified {
16
16
17
17
static final String BASE_URL = "http://localhost:8080/demo/" ;
18
+ static final String LIBRARY_URL = BASE_URL + "library" ;
18
19
static final String RESET_DATABASE_URL = BASE_URL + "flyway" ;
19
20
20
21
@ BeforeClass (alwaysRun = true )
21
22
public void beforeClass (ITestContext test ) {
22
23
// set the base URL for the tests here
23
- setAppURL (this , test , BASE_URL );
24
+ setAppURL (this , test , LIBRARY_URL );
24
25
}
25
26
26
27
@ Test (groups = {"sample" }, description = "Check that the title on the page is as expected" )
@@ -42,7 +43,7 @@ public void sampleTest2() {
42
43
App app = this .apps .get ();
43
44
44
45
app .goToURL (RESET_DATABASE_URL );
45
- app .goToURL (BASE_URL );
46
+ app .goToURL (LIBRARY_URL );
46
47
47
48
// find the register user field and enter a username to register
48
49
Element register_username = app .newElement (Locator .ID , "register_username" );
You can’t perform that action at this time.
0 commit comments