New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to run protractor with args #414
Comments
I am not sure this issue is related to generator. /cc @mllrsohn @Olgagr alternatively you can use |
I had the same problem and solve then modifying function runProtractor (done) {
var params = process.argv;
var args = params.length > 3 ? [params[3], params[4]] : [];
gulp.src(options.e2e + '/**/*.js')
.pipe($.protractor.protractor({
configFile: 'protractor.conf.js',
args: args
}))
// (...)
} This is not error proof, but allows me to make calls to |
Nice 👍 |
just ran into following issue when running protractor with args using teamcity gulp runner...
throw in
I guess we should only be interested in args with
hence replaced:
with
to make sure all args are passed through protractor |
var args = process.argv.slice(3) also works |
It will be great to make it possible to run protractor with args. For example it could be possible to run only one suite:
or choose the browser:
The text was updated successfully, but these errors were encountered: