fix adapter test
This commit is contained in:
parent
31d2cde6e5
commit
b8c06dd560
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ public class AdapterTestStrategy extends ExternalResource {
|
||||||
Assert.assertTrue(driver.getCurrentUrl().startsWith(LOGIN_URL));
|
Assert.assertTrue(driver.getCurrentUrl().startsWith(LOGIN_URL));
|
||||||
loginPage.login("bburke@redhat.com", "password");
|
loginPage.login("bburke@redhat.com", "password");
|
||||||
System.out.println("Current url: " + driver.getCurrentUrl());
|
System.out.println("Current url: " + driver.getCurrentUrl());
|
||||||
Assert.assertEquals(driver.getCurrentUrl(), APP_SERVER_BASE_URL + "/product-portal?encodeTest=a%3Cb");
|
Assert.assertEquals(driver.getCurrentUrl(), APP_SERVER_BASE_URL + "/product-portal" + slash + "?encodeTest=a%3Cb");
|
||||||
String pageSource = driver.getPageSource();
|
String pageSource = driver.getPageSource();
|
||||||
System.out.println(pageSource);
|
System.out.println(pageSource);
|
||||||
Assert.assertTrue(pageSource.contains("iPhone"));
|
Assert.assertTrue(pageSource.contains("iPhone"));
|
||||||
|
|
Loading…
Reference in a new issue