mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
check for selenium
This commit is contained in:
parent
34dcc32035
commit
a5a991d2df
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,8 @@
|
|||
package org.apache.zeppelin.integration;
|
||||
|
||||
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.zeppelin.AbstractZeppelinIT;
|
||||
import org.apache.zeppelin.WebDriverManager;
|
||||
import org.apache.zeppelin.ZeppelinITUtils;
|
||||
|
|
@ -114,6 +116,7 @@ public class ParagraphActionsIT extends AbstractZeppelinIT {
|
|||
} catch (Exception e) {
|
||||
LOG.error("Exception in ParagraphActionsIT while testMoveUpAndDown ", e);
|
||||
File scrFile = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);
|
||||
LOG.error("ScreenShot::\ndata:image/png;base64," + new String(Base64.encodeBase64(FileUtils.readFileToByteArray(scrFile))));
|
||||
throw e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue