GitHub user soralee opened a pull request:
https://github.com/apache/zeppelin/pull/2415
[ZEPPELIN-2661] Test: personalize mode action
### What is this PR for?
Adding to personalized mode action case on Selenium test.
Here is for checking scenario.
1. (admin) login, create a new note, run a paragraph with 'Before' text,
turn on personalized mode, logout.
> checkpoint : result of paragraph is 'Before'.
2. (user1) login, make sure it is on personalized mode and 'Before' in
result of paragraph, logout.
> checkpoint 1 : enabling personalized mode
> checkpoint 2 : result of paragraph is 'Before'.
3. (admin) login, run after changing paragraph contents to 'After', check
result of paragraph, logout.
> checkpoint : changed from 'Before' to 'After' in paragraph
result.
4. (user1) login, check whether result of paragraph is 'Before' or not.
> checkpoint : result of paragraph is 'Before', 'After' means
test fail.
### What type of PR is it?
[ Test ]
### What is the Jira issue?
* [ZEPPELIN-2661](https://issues.apache.org/jira/browse/ZEPPELIN-2661)
### How should this be tested?
- build zeppelin with `mvn clean package -DskipTests'
- execute `TEST_SELENIUM="true" mvn test -pl 'zeppelin-server' --am
-DfailIfNoTests=false -Dtest=PersonalizeActionsIT#testGroupPermission`
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/soralee/zeppelin personalize_mode_test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2415.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2415
----
commit 5f7788f4fca2c82ded2cec1f189bdc99e144e53b
Author: soralee <[email protected]>
Date: 2017-06-16T03:32:27Z
personalize mode integration test
commit b5c2a435c07f7ee9ca415fe42375e301950fb66a
Author: soralee <[email protected]>
Date: 2017-06-16T05:34:02Z
test: add to check point about being turned on personalized mode in user1
commit 2aa3e6d468de8c624396fe4337ed765cc82b0586
Author: soralee <[email protected]>
Date: 2017-06-16T05:41:43Z
style: added new line
commit c14de44743f877ea554d1fe4baff4e97d866fe9a
Author: soralee <[email protected]>
Date: 2017-06-16T06:15:23Z
style: [minor] modify annotation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---