There is a discrepancy between polymer test --config-file and wct --configFile. As a result polymer test completely ignores the file given to it using --config-file.
This does not work: polymer test --config-file wct-headless.conf.json.
This works: wct --configFile wct-headless.conf.json.
Source code of the respective CLI option definitions:
Run ./node_modules/.bin/polymer test --local chrome --local firefox --config-file wct-headless.config.json.
Expected Results
Should run browsers in headless mode.
Actual Results
Does run browsers with window, i.e. ignores the config file. It works, when I rename wct-headless.config.json to wct.config.json. It complains when I use --configFile instead of --config-file. It does not complain when I give an unexistent file, e.g. --config-file wct-foobar.config.json.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
There is a discrepancy between
polymer test --config-file
andwct --configFile
. As a resultpolymer test
completely ignores the file given to it using--config-file
.polymer test --config-file wct-headless.conf.json
.wct --configFile wct-headless.conf.json
.Source code of the respective CLI option definitions:
This seems to be a bug in
polymer-cli
, not inweb-component-tester
.Versions & Environment
Steps to Reproduce
Create
wct-headless.conf.json
:Run
./node_modules/.bin/polymer test --local chrome --local firefox --config-file wct-headless.config.json
.Expected Results
Should run browsers in headless mode.
Actual Results
Does run browsers with window, i.e. ignores the config file. It works, when I rename
wct-headless.config.json
towct.config.json
. It complains when I use--configFile
instead of--config-file
. It does not complain when I give an unexistent file, e.g.--config-file wct-foobar.config.json
.