-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
When running grunt in debug mode ie: grunt .... -d (or --debug)
the following error occurs:
Collector started on port 9904
Usage: protractor [configFile] [options]
configFile defaults to protractor.conf.js
The [options] object will override values from the config file.
See the reference config for a full list of options.
Options:
--help Print Protractor help menu
--version Print Protractor version
--browser, --capabilities.browserName Browsername, e.g. chrome or firefox
--seleniumAddress A running selenium address to use
--seleniumSessionId Attaching an existing session id
--seleniumServerJar Location of the standalone selenium jar file
--seleniumPort Optional port for the selenium standalone server
--baseUrl URL to prepend to all relative paths
--rootElement Element housing ng-app, if not html or body
--specs Comma-separated list of files to test
--exclude Comma-separated list of files to exclude
--verbose Print full spec names
--stackTrace Print stack trace on error
--params Param object to be passed to the tests
--framework Test framework to use: jasmine, mocha, or custom
--resultJsonOutputFile Path to save JSON test result
--troubleshoot Turn on troubleshooting output
--elementExplorer Interactively test Protractor commands
--debuggerServerPort Start a debugger server at specified port instead of repl
--disableChecks disable cli checks
Error: Error: more than one config file specified
......
Because grunt.option.flags() results into --debug=1, which is invalid as protractor will be spawned with --debug 1
Metadata
Metadata
Assignees
Labels
No labels