Use better env names

This commit is contained in:
Chi Vinh Le
2017-10-17 20:53:50 +07:00
parent 2723be2eb9
commit 30fe43624f
2 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ test:
override:
# Run the tests using the junit reporter.
- MOCHA_FILE=$CIRCLE_TEST_REPORTS/junit/test-results.xml MOCHA_REPORTER=mocha-junit-reporter yarn test
- yarn e2e -- --env ci
- yarn e2e -- --env chrome-headless
deployment:
release:
+3 -9
View File
@@ -14,7 +14,8 @@ module.exports = {
host: '127.0.0.1',
port: 6666,
cli_args: {
'webdriver.chrome.driver': 'node_modules/selenium-standalone/.selenium/chromedriver/2.32-x64-chromedriver'
'webdriver.chrome.driver': 'node_modules/selenium-standalone/.selenium/chromedriver/2.32-x64-chromedriver',
'webdriver.gecko.driver': 'node_modules/selenium-standalone/.selenium/geckodriver/0.18.0-x64-geckodriver',
}
},
test_settings: {
@@ -39,14 +40,7 @@ module.exports = {
path: './test/e2e/tests_output'
},
},
ci: {
desiredCapabilities: {
chromeOptions : {
args: ['--headless', '--disable-gpu']
},
},
},
headless: {
'chrome-headless': {
desiredCapabilities: {
chromeOptions : {
args: ['--headless', '--disable-gpu']