Merge pull request #1938 from mhajas/fixDataTable

Fix adapter tests errors caused by changed DataTable fragment
This commit is contained in:
Pavel Drozd 2015-12-11 15:29:28 +01:00
commit 9228c6a16b
2 changed files with 4 additions and 4 deletions

View file

@ -243,7 +243,7 @@ public abstract class AbstractDemoExampleAdapterTest extends AbstractExampleAdap
List<WebElement> resultList = loginEventsPage.table().rows();
assertEquals(2, resultList.size());
assertEquals(1, resultList.size());
resultList.get(0).findElement(By.xpath(".//td[text()='REVOKE_GRANT']"));
resultList.get(0).findElement(By.xpath(".//td[text()='Client']/../td[text()='account']"));
@ -255,7 +255,7 @@ public abstract class AbstractDemoExampleAdapterTest extends AbstractExampleAdap
loginEventsPage.table().update();
resultList = loginEventsPage.table().rows();
assertEquals(7, resultList.size());
assertEquals(1, resultList.size());
resultList.get(0).findElement(By.xpath(".//td[text()='LOGIN']"));
resultList.get(0).findElement(By.xpath(".//td[text()='Client']/../td[text()='customer-portal']"));

View file

@ -214,7 +214,7 @@ public abstract class AbstractJSConsoleExampleAdapterTest extends AbstractExampl
List<WebElement> resultList = loginEventsPage.table().rows();
assertEquals(2, resultList.size());
assertEquals(1, resultList.size());
resultList.get(0).findElement(By.xpath(".//td[text()='REVOKE_GRANT']"));
resultList.get(0).findElement(By.xpath(".//td[text()='Client']/../td[text()='account']"));
@ -226,7 +226,7 @@ public abstract class AbstractJSConsoleExampleAdapterTest extends AbstractExampl
loginEventsPage.table().update();
resultList = loginEventsPage.table().rows();
assertEquals(7, resultList.size());
assertEquals(1, resultList.size());
resultList.get(0).findElement(By.xpath(".//td[text()='LOGIN']"));
resultList.get(0).findElement(By.xpath(".//td[text()='Client']/../td[text()='js-console']"));