-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add new selenium test case for create new paragraph button #688
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
| createNewNote(); | ||
|
|
||
| waitForParagraph(1, "READY"); | ||
| Integer nosOfParas = driver.findElements(By.xpath("//div[@ng-controller=\"ParagraphCtrl\"]")).size(); |
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.
extra space after "="
…ad of <true> or <false>
|
Could this test also cover new paragraph by clicking + button between paragraphs? |
|
@Leemoonsoo This test does not cover new paragraph by clicking + buttons between paragraphs |
|
@Leemoonsoo Modified test case to cover new paragraph by clicking + buttons between paragraph. |
|
@ravicodder Thanks for taking care. LGTM |
|
Merge if there're no more discussions |
|
@ravicodder I think you should test both append paragraph to top, and append paragraph to bottom buttons as well. Instead of only testing append to top. |
|
@prabhjyotsingh Modified test case to include test case to test append paragraph to top and bottom. |
|
CI green, LGTM. |
|
LGTM and merge if there're no more discussion |
6c3d192 to
ce25396
Compare
### What is this PR for? Add a new test case for testing the create new button. Create new button is for creating new paragraph within notebook ### What type of PR is it? Test ### Is there a relevant Jira issue? NA ### How should this be tested? 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.ParagraphActionsIT -Denforcer.skip=true \ test -pl zeppelin-server ### Questions: * Does the licenses files need update?NO * Is there breaking changes for older versions?NO * Does this needs documentation?NO Author: Ravi Ranjan <ranjanravi0308@gmail.com> Closes apache#688 from ravicodder/testCreateNewButton and squashes the following commits: 7d5bc65 [Ravi Ranjan] Add LOG.error message in catch statement ce25396 [Ravi Ranjan] Add LOG.error in catch statement 0247d3f [Ravi Ranjan] Modified test case to test create new paragraph using '+' sign between paragraph 2fbf220 [Ravi Ranjan] modified Debug message and in checkthat value of pargarphs used instead of <true> or <false> 9b1d777 [Ravi Ranjan] Add new selenium test case for create new paragraph button
What is this PR for?
Add a new test case for testing the create new button.
Create new button is for creating new paragraph within notebook
What type of PR is it?
Test
Is there a relevant Jira issue?
NA
How should this be tested?
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.ParagraphActionsIT -Denforcer.skip=true
test -pl zeppelin-server
Questions: