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

Flags are not being passed to node modules in protractor 19 #571

Closed
andresdominguez opened this issue Mar 4, 2014 · 0 comments
Closed
Assignees
Milestone

Comments

@andresdominguez
Copy link
Contributor

I use flags to indicate which environment should be used for the tests. For example:

--run_local=true

I noticed that the flags are no longer accessible inside the node modules:

console.log(optimist.argv);
return !!optimist.argv.run_local;

It just passes the following:

{ _: [],
  '$0': '../../../../../../../../.nvm/v0.10.25/bin/node ./node_modules/protractor/lib/runFromLauncher.js' }
@juliemr juliemr added the bug label Mar 4, 2014
@juliemr juliemr added this to the 0.20.0 milestone Mar 4, 2014
@juliemr juliemr self-assigned this Mar 4, 2014
@juliemr juliemr closed this as completed in a68627b Mar 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants