File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
packages/@vue/cli/lib/promptModules Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ test('nightwatch', async () => {
54
54
55
55
const expectedOptions = {
56
56
plugins : {
57
- '@vue/cli-plugin-e2e-nightwatch' : { }
57
+ '@vue/cli-plugin-e2e-nightwatch' : {
58
+ webdrivers : [ 'chrome' , 'firefox' ]
59
+ }
58
60
}
59
61
}
60
62
@@ -87,7 +89,9 @@ test('webdriverio', async () => {
87
89
88
90
const expectedOptions = {
89
91
plugins : {
90
- '@vue/cli-plugin-e2e-webdriverio' : { }
92
+ '@vue/cli-plugin-e2e-webdriverio' : {
93
+ webdrivers : [ 'chrome' , 'firefox' ]
94
+ }
91
95
}
92
96
}
93
97
Original file line number Diff line number Diff line change @@ -58,9 +58,13 @@ module.exports = cli => {
58
58
if ( answers . e2e === 'cypress' ) {
59
59
options . plugins [ '@vue/cli-plugin-e2e-cypress' ] = { }
60
60
} else if ( answers . e2e === 'nightwatch' ) {
61
- options . plugins [ '@vue/cli-plugin-e2e-nightwatch' ] = { }
61
+ options . plugins [ '@vue/cli-plugin-e2e-nightwatch' ] = {
62
+ webdrivers : answers . webdrivers
63
+ }
62
64
} else if ( answers . e2e === 'webdriverio' ) {
63
- options . plugins [ '@vue/cli-plugin-e2e-webdriverio' ] = { }
65
+ options . plugins [ '@vue/cli-plugin-e2e-webdriverio' ] = {
66
+ webdrivers : answers . webdrivers
67
+ }
64
68
}
65
69
} )
66
70
}
You can’t perform that action at this time.
0 commit comments