mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
More logging
This commit is contained in:
parent
c9d54ba6b8
commit
a8c71524ac
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class AddOwnerIT extends SeleniumBaseIT {
|
|||
fillTextField(By.name("telephone"), "0534890000");
|
||||
driver.findElement(By.name("telephone")).submit();
|
||||
waitForPageToLoad();
|
||||
Assert.assertTrue(pageContainsText("Sophie Lathouwers"));
|
||||
Assert.assertTrue("Could not locate \"Sophie Lathouwers\" on the page. This is the html of the current page: "+getHTML(), pageContainsText("Sophie Lathouwers"));
|
||||
|
||||
//Add a pet
|
||||
waitFor(ExpectedConditions.presenceOfAllElementsLocatedBy(By.linkText("Add New Pet")));
|
||||
|
|
Loading…
Reference in a new issue