Changes in assert statement (#941)
This commit is contained in:
parent
b7b5463309
commit
fa50144eef
|
@ -29,7 +29,7 @@ public class SeleniumWithJUnitLiveTest {
|
|||
seleniumExample.getAboutBaeldungPage();
|
||||
String actualTitle = seleniumExample.getTitle();
|
||||
assertNotNull(actualTitle);
|
||||
assertEquals(actualTitle, expecteTilteAboutBaeldungPage);
|
||||
assertEquals(expecteTilteAboutBaeldungPage, actualTitle);
|
||||
assertTrue(seleniumExample.isAuthorInformationAvailable());
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public class SeleniumWithTestNGLiveTest {
|
|||
seleniumExample.getAboutBaeldungPage();
|
||||
String actualTitle = seleniumExample.getTitle();
|
||||
assertNotNull(actualTitle);
|
||||
assertEquals(actualTitle, expecteTilteAboutBaeldungPage);
|
||||
assertEquals(expecteTilteAboutBaeldungPage, actualTitle);
|
||||
assertTrue(seleniumExample.isAuthorInformationAvailable());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue