@@ -5,7 +5,9 @@ const deepmerge = require('deepmerge')
5
5
6
6
const Services = { }
7
7
loadServices ( )
8
-
8
+ const VUE_DEV_SERVER_URL = process . env . VUE_DEV_SERVER_URL
9
+ const BROWSERSTACK_USER = process . env . BROWSERSTACK_USER
10
+ const BROWSERSTACK_KEY = process . env . VUE_DEV_SERVER_URL
9
11
const userOptions = JSON . parse ( process . env . VUE_NIGHTWATCH_USER_OPTIONS || '{}' )
10
12
const concurrentMode = process . env . VUE_NIGHTWATCH_CONCURRENT === '1'
11
13
const useSelenium = process . env . VUE_NIGHTWATCH_USE_SELENIUM === '1'
@@ -27,10 +29,10 @@ const defaultSettings = {
27
29
page_objects_path : 'tests/e2e/page-objects' ,
28
30
29
31
// See https://nightwatchjs.org/guide/extending-nightwatch/#writing-custom-commands
30
- custom_commands_path : 'tests/e2e/custom-assertions ' ,
32
+ custom_commands_path : 'tests/e2e/custom-commands ' ,
31
33
32
34
// See https://nightwatchjs.org/guide/extending-nightwatch/#writing-custom-assertions
33
- custom_assertions_path : 'tests/e2e/custom-commands ' ,
35
+ custom_assertions_path : 'tests/e2e/custom-assertions ' ,
34
36
35
37
// See https://nightwatchjs.org/guide/#external-globals
36
38
globals_path : path . resolve ( 'tests/e2e/globals.js' ) ,
@@ -42,7 +44,7 @@ const defaultSettings = {
42
44
test_settings : {
43
45
default : {
44
46
disable_error_log : false ,
45
- launch_url : ' ${VUE_DEV_SERVER_URL}' , // eslint-disable-line no-template-curly-in-string
47
+ launch_url : ` ${ VUE_DEV_SERVER_URL } ` ,
46
48
47
49
screenshots : {
48
50
enabled : false ,
@@ -140,8 +142,8 @@ const defaultSettings = {
140
142
desiredCapabilities : {
141
143
'bstack:options' : {
142
144
local : 'false' ,
143
- userName : ' ${BROWSERSTACK_USER}' , // eslint-disable-line no-template-curly-in-string
144
- accessKey : ' ${BROWSERSTACK_KEY}' // eslint-disable-line no-template-curly-in-string
145
+ userName : ` ${ BROWSERSTACK_USER } ` ,
146
+ accessKey : ` ${ BROWSERSTACK_KEY } `
145
147
}
146
148
} ,
147
149
0 commit comments