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