Changes in assert statement (#941)

This commit is contained in:
Sandeep4odesk 2016-12-29 23:10:22 +05:30 committed by Grzegorz Piwowarek
parent b7b5463309
commit fa50144eef
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class SeleniumWithJUnitLiveTest {
seleniumExample.getAboutBaeldungPage();
String actualTitle = seleniumExample.getTitle();
assertNotNull(actualTitle);
assertEquals(actualTitle, expecteTilteAboutBaeldungPage);
assertEquals(expecteTilteAboutBaeldungPage, actualTitle);
assertTrue(seleniumExample.isAuthorInformationAvailable());
}

View File

@ -29,7 +29,7 @@ public class SeleniumWithTestNGLiveTest {
seleniumExample.getAboutBaeldungPage();
String actualTitle = seleniumExample.getTitle();
assertNotNull(actualTitle);
assertEquals(actualTitle, expecteTilteAboutBaeldungPage);
assertEquals(expecteTilteAboutBaeldungPage, actualTitle);
assertTrue(seleniumExample.isAuthorInformationAvailable());
}
}