mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Add 'Run Selenium test' section
This commit is contained in:
parent
fe11b32e8c
commit
e1312f3e20
1 changed files with 17 additions and 0 deletions
|
|
@ -113,6 +113,23 @@ cd <zeppelin_home>/zeppelin-interpreter/src/main/thrift
|
|||
./genthrift.sh
|
||||
```
|
||||
|
||||
### Run Selenium test
|
||||
|
||||
Zeppelin has [set of integration tests](https://github.com/apache/zeppelin/tree/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration) using Selenium. To run these test, first build and run Zeppelin and make sure Zeppelin is running on port 8080. Then you can run test using folowing command
|
||||
|
||||
```
|
||||
TEST_SELENIUM=true mvn test -Dtest=[TEST_NAME] -DfailIfNoTests=false -pl 'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
|
||||
```
|
||||
|
||||
For example, to run [ParagraphActionIT](https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ParagraphActionsIT.java),
|
||||
|
||||
```
|
||||
TEST_SELENIUM=true mvn test -Dtest=ParagraphActionsIT -DfailIfNoTests=false -pl 'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
|
||||
```
|
||||
|
||||
You'll need Firefox web browser installed in your development environment. While CI server uses 'Firefox 31.0' to run selenium test, it is good idea to install the same version.
|
||||
|
||||
|
||||
## Where to Start
|
||||
You can find issues for <a href="https://issues.apache.org/jira/browse/ZEPPELIN-981?jql=project%20%3D%20ZEPPELIN%20AND%20labels%20in%20(beginner%2C%20newbie)">beginner & newbie</a>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue