-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ZEPPELIN-593 Test Paragraph action Disable run and refactor common methods #619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
awesome, more selenium 👍 |
|
More integration tests is very welcome, so thank you! What do you think if instead of having This way we can still have all that code separated and available as part of skeletal implementation for every other test, each will possess a |
833a7ce to
93ab601
Compare
|
@bzz I've updated the patch as per the review comment. Thanks |
|
@bzz @Leemoonsoo ready for review |
|
LGTM. Tested on MacOS with runs as expected. |
|
Can we have this reviewed/merged, #654 can use some refactored stuff. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like a small typo here
|
Great job @r-kamath thank you for contributing! Looks good to me, modulo minor nits above. |
|
Will merge if there is no more discussion |
### What is this PR for? Test functionality of spark, pyspark, sparksql ### What type of PR is it? Improvement ### Todos * [x] - Selenium for spark * [x] - Selenium for pyspark * [x] - Selenium for sparksql * [x] - refactor with #619 ### Is there a relevant Jira issue? ZEPPELIN-587 ### How should this be tested? On macOS PATH=~/Applications/Firefox.app/Contents/MacOS/:$PATH CI="" \ mvn -Dtest=org.apache.zeppelin.integration.TestSparkParagraph -Denforcer.skip=true \ test -pl zeppelin-server Author: Prabhjyot Singh <prabhjyotsingh@gmail.com> Closes #654 from prabhjyotsingh/ZEPPELIN-587 and squashes the following commits: 8f24695 [Prabhjyot Singh] use handleException in all other test cases remove test for spark 1.1.1 more meaningful log message 28dfc55 [Prabhjyot Singh] thorwong exception similar to #709 21bcc45 [Prabhjyot Singh] Merge remote-tracking branch 'origin/master' into ZEPPELIN-587 b05b81b [Prabhjyot Singh] have SHIFT_ENTER enum 9a206f4 [Prabhjyot Singh] add missing endToEndTestEnabled check for testSparkInterpreterDependencyLoading ab03287 [Prabhjyot Singh] have static import of AbstractZeppelinIT.HelperKeys.*, and rg.openqa.selenium.Keys.* 5187a16 [Prabhjyot Singh] check if spark version is less than 1.3 then don't append ".toDF()" 6927f7e [Prabhjyot Singh] CI FIX 9236e3c [Prabhjyot Singh] implemeting @bzz review comments 2c28758 [Prabhjyot Singh] missed refactor with #619 d49344f [Prabhjyot Singh] selenium test spark, pyspark and sparkSql
What is this PR for?
Add new selenium test for disable paragraph action and refactor some of the common methods which can be used by other tests.
What type of PR is it?
Improvement and refactor
Is there a relevant Jira issue?
ZEPPELIN-593
How should this be tested?
CI should pass
or
On OSX, you'll need firefox 42.0 installed, then you can run with
PATH=~/Applications/Firefox.app/Contents/MacOS/:$PATH CI="" mvn -Dtest=org.apache.zeppelin.integration.ParagraphActions -Denforcer.skip=true test -pl zeppelin-server