mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
Fixed test.
This commit is contained in:
parent
3d6c9040b2
commit
0a9e18d25b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class MainPageIT {
|
||||||
driver.get(url);
|
driver.get(url);
|
||||||
assertEquals("Title not as expected: ", "PetClinic :: a Spring Framework demonstration", getTitle());
|
assertEquals("Title not as expected: ", "PetClinic :: a Spring Framework demonstration", getTitle());
|
||||||
String welcomeText = driver.findElement(By.id("welcome")).getText();
|
String welcomeText = driver.findElement(By.id("welcome")).getText();
|
||||||
assertEquals("Wrong welcome text.", "Welcome to the Red Hat Pet Clinic!", welcomeText);
|
assertEquals("Wrong welcome text.", "Welcome to the Red Hat Pet Clinic", welcomeText);
|
||||||
System.err.println("Text extracted: " + welcomeText);
|
System.err.println("Text extracted: " + welcomeText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue