fix: pass test, use 2 dists

This commit is contained in:
1ambda 2017-07-11 21:39:19 +09:00
parent 58cfb238f1
commit e924e76080
2 changed files with 10 additions and 10 deletions

View file

@ -42,8 +42,8 @@ env:
matrix:
include:
# # Test License compliance using RAT tool
# - jdk: "oraclejdk7"
# env: SCALA_VER="2.11" SPARK_VER="2.0.2" HADOOP_VER="2.6" PROFILE="-Prat" BUILD_FLAG="clean" TEST_FLAG="org.apache.rat:apache-rat-plugin:check" TEST_PROJECTS=""
- jdk: "oraclejdk7"
env: SCALA_VER="2.11" SPARK_VER="2.0.2" HADOOP_VER="2.6" PROFILE="-Prat" BUILD_FLAG="clean" TEST_FLAG="org.apache.rat:apache-rat-plugin:check" TEST_PROJECTS=""
# Run e2e tests (in zeppelin-web)
- os: linux

View file

@ -1,18 +1,18 @@
describe('Home e2e Test', function() {
it('should have a welcome message', function() {
// browser.get('http://localhost:8080');
// var weblcomeElem = element(by.id('welcome'))
//
// expect(weblcomeElem.getText()).toEqual('Welcome to Zeppelin!')
browser.get('http://localhost:8080');
var weblcomeElem = element(by.id('welcome'))
expect(weblcomeElem.getText()).toEqual('Welcome to Zeppelin!')
})
it('should have the button for importing notebook', function() {
// var btn = element(by.cssContainingText('a', 'Import note'))
// expect(btn).toBeDefined()
var btn = element(by.cssContainingText('a', 'Import note'))
expect(btn).toBeDefined()
})
it('should have the button for creating notebook', function() {
// var btn = element(by.cssContainingText('a', 'Create new note'))
// expect(btn).toBeDefined()
var btn = element(by.cssContainingText('a', 'Create new note'))
expect(btn).toBeDefined()
})
})