fix: before_start

This commit is contained in:
1ambda 2017-07-11 14:26:19 +09:00
parent 1f345aea1f
commit 7f5abfdf43
3 changed files with 4 additions and 5 deletions

View file

@ -120,6 +120,8 @@ before_script:
- echo "export SPARK_HOME=`pwd`/spark-$SPARK_VER-bin-hadoop$HADOOP_VER" > conf/zeppelin-env.sh
- echo "export ZEPPELIN_HELIUM_REGISTRY=helium" >> conf/zeppelin-env.sh
- tail conf/zeppelin-env.sh
- export DISPLAY=:99.0 # required to execute e2e tests in chrome
- sh -e /etc/init.d/xvfb start # required to execute e2e tests in chrome
script:
- if [[ -n $TEST_MODULES ]]; then export MODULES=$TEST_MODULES; fi

View file

@ -19,7 +19,7 @@
"dev:watch": "grunt watch-webpack-dev",
"dev": "npm-run-all --parallel dev:server lint:watch dev:watch",
"test:watch": "karma start karma.conf.js --single-run=false",
"pree2e": "webdriver-manager update --gecko false --versions.chrome 2.24",
"pree2e": "webdriver-manager update --gecko false",
"e2e": "protractor protractor.conf.js",
"pretest": "npm rebuild phantomjs-prebuilt",
"test": "karma start karma.conf.js"

View file

@ -1,12 +1,9 @@
exports.config = {
baseUrl: 'http://localhost:8080/',
directConnect: true,
chromeOnly: true,
// chromeOnly: true,
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: ["--headless", 'no-sandbox', "--disable-gpu", "--window-size=800x600"]
}
},
allScriptsTimeout: 110000,