@@ -32,7 +32,7 @@ describe('nightwatch e2e plugin', () => {
32
32
} )
33
33
34
34
test ( 'should run all tests successfully' , async ( ) => {
35
- await project . run ( ` vue-cli-service test:e2e --headless` )
35
+ await project . run ( ' vue-cli-service test:e2e --headless' )
36
36
let results = await project . read ( 'test_results.json' )
37
37
results = JSON . parse ( results )
38
38
expect ( Object . keys ( results . modules ) ) . toEqual ( [
@@ -44,15 +44,15 @@ describe('nightwatch e2e plugin', () => {
44
44
test ( 'should accept the --url cli option' , async ( ) => {
45
45
let server
46
46
try {
47
- await project . run ( ` vue-cli-service build` )
47
+ await project . run ( ' vue-cli-service build' )
48
48
server = createServer ( { root : path . join ( project . dir , 'dist' ) } )
49
49
await new Promise ( ( resolve , reject ) => {
50
50
server . listen ( 8080 , err => {
51
51
if ( err ) return reject ( err )
52
52
resolve ( )
53
53
} )
54
54
} )
55
- await project . run ( ` vue-cli-service test:e2e --headless --url http://127.0.0.1:8080/` )
55
+ await project . run ( ' vue-cli-service test:e2e --headless --url http://127.0.0.1:8080/' )
56
56
57
57
let results = await project . read ( 'test_results.json' )
58
58
results = JSON . parse ( results )
@@ -66,7 +66,7 @@ describe('nightwatch e2e plugin', () => {
66
66
} )
67
67
68
68
test ( 'should run single test with custom nightwatch.json' , async ( ) => {
69
- await project . run ( ` vue-cli-service test:e2e --headless -t tests/e2e/specs/test.js` )
69
+ await project . run ( ' vue-cli-service test:e2e --headless -t tests/e2e/specs/test.js' )
70
70
let results = await project . read ( 'test_results.json' )
71
71
results = JSON . parse ( results )
72
72
expect ( Object . keys ( results . modules ) ) . toEqual ( [
@@ -75,7 +75,7 @@ describe('nightwatch e2e plugin', () => {
75
75
} )
76
76
77
77
test ( 'should run single test with custom nightwatch.json and selenium server' , async ( ) => {
78
- await project . run ( ` vue-cli-service test:e2e --headless --use-selenium -t tests/e2e/specs/test.js` )
78
+ await project . run ( ' vue-cli-service test:e2e --headless --use-selenium -t tests/e2e/specs/test.js' )
79
79
let results = await project . read ( 'test_results.json' )
80
80
results = JSON . parse ( results )
81
81
@@ -91,7 +91,7 @@ describe('nightwatch e2e plugin', () => {
91
91
} )
92
92
93
93
test ( 'should run tests in parallel' , async ( ) => {
94
- await project . run ( ` vue-cli-service test:e2e --headless --parallel` )
94
+ await project . run ( ' vue-cli-service test:e2e --headless --parallel' )
95
95
let results = await project . read ( 'test_results.json' )
96
96
results = JSON . parse ( results )
97
97
@@ -118,7 +118,7 @@ describe('nightwatch e2e plugin', () => {
118
118
119
119
await Promise . all ( [ copyConfig , copyGlobals ] )
120
120
121
- await project . run ( ` vue-cli-service test:e2e --headless --env firefox -t tests/e2e/specs/test.js` )
121
+ await project . run ( ' vue-cli-service test:e2e --headless --env firefox -t tests/e2e/specs/test.js' )
122
122
let results = await project . read ( 'test_results_gecko.json' )
123
123
results = JSON . parse ( results )
124
124
0 commit comments