Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

protractor 'advertises' its --verbose option, but cannot use that #4196

Closed
attila123 opened this issue Apr 3, 2017 · 2 comments · Fixed by #4200
Closed

protractor 'advertises' its --verbose option, but cannot use that #4196

attila123 opened this issue Apr 3, 2017 · 2 comments · Fixed by #4200

Comments

@attila123
Copy link

attila123 commented Apr 3, 2017

  • Node Version: v6.9.5
  • Protractor Version: 5.1.1
  • Operating System and Version Linux Mint 18.1
  • Steps to reproduce the bug

protractor --help tells about the --verbose option:

  --verbose                              Print full spec names

I wanted to try how it works. So I executed protractor with this flag, but apparently it cannot make sense of this --verbose option, see the warning below:

$ protractor protractor-conf.js --verbose
[14:52:16] I/launcher - Running 1 instances of WebDriver
[14:52:16] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[14:52:17] W/runner - Ignoring unknown extra flags: verbose. This will be an error in future versions, please use --disableChecks flag to disable the  Protractor CLI flag checks. 
Protractor animation is disabled
Protractor synchronization is disabled
(...)

So maybe this --verbose is a half-way done feature? I guess it should be completed or removed.

@NickTomlin
Copy link
Contributor

I can reproduce this as well; I pr'd the fix in #4200

@attila123
Copy link
Author

Thanks @NickTomlin ! :)

anjunatl added a commit to anjunatl/protractor that referenced this issue Apr 14, 2017
This fixes a problem I encountered similar to angular#4196 - where `stackTrace` is listed as an option but an error is given saying it's an "unknown extra flag"
heathkit pushed a commit that referenced this issue Apr 26, 2017
This fixes a problem I encountered similar to #4196 - where `stackTrace` is listed as an option but an error is given saying it's an "unknown extra flag"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants