mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Use uib-tooltip in IT classes
This commit is contained in:
parent
d03a70e3b3
commit
2522ff51fd
3 changed files with 4 additions and 4 deletions
|
|
@ -125,7 +125,7 @@ public class WebDriverManager {
|
|||
(new WebDriverWait(driver, 30)).until(new ExpectedCondition<Boolean>() {
|
||||
@Override
|
||||
public Boolean apply(WebDriver d) {
|
||||
return d.findElement(By.xpath("//i[@tooltip='WebSocket Connected']"))
|
||||
return d.findElement(By.xpath("//i[@uib-tooltip='WebSocket Connected']"))
|
||||
.isDisplayed();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ public class AuthenticationIT extends AbstractZeppelinIT {
|
|||
|
||||
String noteId = driver.getCurrentUrl().substring(driver.getCurrentUrl().lastIndexOf("/") + 1);
|
||||
|
||||
pollingWait(By.xpath("//span[@tooltip='Note permissions']"),
|
||||
pollingWait(By.xpath("//span[@uib-tooltip='Note permissions']"),
|
||||
MAX_BROWSER_TIMEOUT_SEC).click();
|
||||
pollingWait(By.xpath(".//*[@id='selectOwners']/following::span//input"),
|
||||
MAX_BROWSER_TIMEOUT_SEC).sendKeys("finance ");
|
||||
|
|
|
|||
|
|
@ -198,8 +198,8 @@ public class SparkParagraphIT extends AbstractZeppelinIT {
|
|||
}
|
||||
try {
|
||||
// restart spark interpreter before running %dep
|
||||
clickAndWait(By.xpath("//span[@tooltip='Interpreter binding']"));
|
||||
clickAndWait(By.xpath("//div[font[contains(text(), 'spark')]]/preceding-sibling::a[@tooltip='Restart']"));
|
||||
clickAndWait(By.xpath("//span[@uib-tooltip='Interpreter binding']"));
|
||||
clickAndWait(By.xpath("//div[font[contains(text(), 'spark')]]/preceding-sibling::a[@uib-tooltip='Restart']"));
|
||||
clickAndWait(By.xpath("//button[contains(.,'OK')]"));
|
||||
|
||||
setTextOfParagraph(1,"%dep z.load(\"org.apache.commons:commons-csv:1.1\")");
|
||||
|
|
|
|||
Loading…
Reference in a new issue