Fix xpath in the SparkParagraphIt test

This commit is contained in:
Lee moon soo 2016-06-16 18:38:16 -07:00
parent ac963ff83a
commit 385dab3269

View file

@ -165,7 +165,7 @@ public class SparkParagraphIT extends AbstractZeppelinIT {
}
WebElement paragraph1Result = driver.findElement(By.xpath(
getParagraphXPath(1) + "//div[@class=\"tableDisplay\"]/div/div/div"));
getParagraphXPath(1) + "//div[@class=\"tableDisplay\"]/div/div/div/div/div/div[1]"));
collector.checkThat("Paragraph from SparkParagraphIT of testSqlSpark result: ",
paragraph1Result.getText().toString(), CoreMatchers.equalTo("age\njob\nmarital\neducation\nbalance\n" +
"30 unemployed married primary 1,787"));