Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Disabling standalone install for webdriver manager #349

Merged
merged 2 commits into from
Jan 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion cli/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,15 @@ function spawnSelenium(configPath) {
'webdriver-manager'
);

let results = spawn.sync(webdriverManagerPath, ['update', '--gecko', 'false'], spawnOptions);
const results = spawn.sync(
webdriverManagerPath,
[
'update',
'--standalone', 'false',
'--gecko', 'false'
],
spawnOptions
);

if (results.error) {
reject(results.error);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"coverage:builder": "istanbul cover --report=html --dir=./coverage/builder ./node_modules/jasmine/bin/jasmine.js JASMINE_CONFIG_PATH=jasmine.json",
"coverage:runtime": "node ./utils/cli-test.js dev-runtime",
"coverage:src-app": "node ./utils/cli-test.js dev-src-app",
"e2e": "webdriver-manager update --gecko false && protractor ./config/protractor/protractor-dev.conf.js",
"e2e": "webdriver-manager update --standalone false --gecko false && protractor ./config/protractor/protractor-dev.conf.js",
"jscs": "jscs cli config lib loader plugin src utils index.js",
"jshint": "jshint cli config lib loader plugin src utils index.js",
"lint": "npm run jshint && npm run jscs",
Expand Down