Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
CASE I "Save button not found on adding `org.apache.commons:commons-csv` dependence to Spark interpreter"
PR #860
https://travis-ci.org/apache/incubator-zeppelin/jobs/132702968
See attached Screenshot-860
23:18:41,898 ERROR org.apache.zeppelin.AbstractZeppelinIT:153 - Exception in ZeppelinIT while testSparkInterpreterDependencyLoading
org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
...
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:326)
at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84)
at org.apache.zeppelin.integration.ZeppelinIT.testSparkInterpreterDependencyLoading(ZeppelinIT.java:209)
From ZeppelinIT.testSparkInterpreterDependencyLoading
String artifact = "org.apache.commons:commons-csv:1.1"; depArtifact.sendKeys(artifact); driver.findElement(By.xpath("//div[contains(@class,'box')][contains(.,'%spark')]//form//button[1]")).click();
Attachments
Attachments
Issue Links
- links to
Activity
Alexander Bezzubov
created issue -
Alexander Bezzubov
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | CASE I: `ZeppelinIT.testSparkInterpreterDependencyLoading` Save button not found after adding dependence to Spark interpreter | CASE I of ZeppelinIT failure - Save button not found after adding dependence to Spark interpreter |
Alexander Bezzubov
made changes -
Description |
- *CASE I* "Save button not found on adding `org.apache.commons:commons-csv` dependence to Spark interpreter" PR [#860 | https://github.com/apache/incubator-zeppelin/pull/860] https://travis-ci.org/apache/incubator-zeppelin/jobs/132702968 See attached _Screenshot-860_ {code} 23:18:41,898 ERROR org.apache.zeppelin.AbstractZeppelinIT:153 - Exception in ZeppelinIT while testSparkInterpreterDependencyLoading org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with ... at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:326) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84) at org.apache.zeppelin.integration.ZeppelinIT.testSparkInterpreterDependencyLoading(ZeppelinIT.java:209) {code} From [ZeppelinIT.testSparkInterpreterDependencyLoading |https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java#L209] {code} String artifact = "org.apache.commons:commons-csv:1.1"; depArtifact.sendKeys(artifact); driver.findElement(By.xpath("//div[contains(@class,'box')][contains(.,'%spark')]//form//button[1]")).click(); {code} |
Alexander Bezzubov
made changes -
Attachment | screenshot-1.png [ 12807106 ] |
Alexander Bezzubov
made changes -
Description |
- *CASE I* "Save button not found on adding `org.apache.commons:commons-csv` dependence to Spark interpreter" PR [#860 | https://github.com/apache/incubator-zeppelin/pull/860] https://travis-ci.org/apache/incubator-zeppelin/jobs/132702968 See attached _Screenshot-860_ {code} 23:18:41,898 ERROR org.apache.zeppelin.AbstractZeppelinIT:153 - Exception in ZeppelinIT while testSparkInterpreterDependencyLoading org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with ... at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:326) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84) at org.apache.zeppelin.integration.ZeppelinIT.testSparkInterpreterDependencyLoading(ZeppelinIT.java:209) {code} From [ZeppelinIT.testSparkInterpreterDependencyLoading |https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java#L209] {code} String artifact = "org.apache.commons:commons-csv:1.1"; depArtifact.sendKeys(artifact); driver.findElement(By.xpath("//div[contains(@class,'box')][contains(.,'%spark')]//form//button[1]")).click(); {code} |
*CASE I* "Save button not found on adding `org.apache.commons:commons-csv` dependence to Spark interpreter" PR [#860 | https://github.com/apache/incubator-zeppelin/pull/860] https://travis-ci.org/apache/incubator-zeppelin/jobs/132702968 See attached _Screenshot-860_ {code} 23:18:41,898 ERROR org.apache.zeppelin.AbstractZeppelinIT:153 - Exception in ZeppelinIT while testSparkInterpreterDependencyLoading org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with ... at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:326) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84) at org.apache.zeppelin.integration.ZeppelinIT.testSparkInterpreterDependencyLoading(ZeppelinIT.java:209) {code} From [ZeppelinIT.testSparkInterpreterDependencyLoading |https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java#L209] {code} String artifact = "org.apache.commons:commons-csv:1.1"; depArtifact.sendKeys(artifact); driver.findElement(By.xpath("//div[contains(@class,'box')][contains(.,'%spark')]//form//button[1]")).click(); {code} |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
ASF GitHub Bot
made changes -
Remote Link | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] | This issue links to "GitHub Pull Request #939 (Web Link)" [ 43484 ] |
Alexander Bezzubov
made changes -
Fix Version/s | 0.6.0 [ 12332761 ] |
Alexander Bezzubov
made changes -
Assignee | Alexander Bezzubov [ bzz ] |
Alexander Bezzubov
made changes -
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
I suppose this test is flaky due to XPath expression used to identify "Save" button on the interpreter page:
//div[contains(@class,'box')][contains(.,'%spark')]//form//button[1]
As one can see on attached code-screenshot - it is found in 2 places on the page for 2 spark interpreters,
and one is visible (that we are editing) and one is not.
My guess that it picks non-visible from time to time, and this way fails the test, as code logic is to wait until it becomes visible for 5 sec (in order the page to load), but this never happens as it's second one that is visible.