question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Direct support for suite argument

See original GitHub issue

Hi!

I would like to see direct support for the --suites which would work when testing suites https://github.com/angular/protractor/blob/master/spec/suitesConf.js

Actually, it would be good if other arguments can be used as a config option instead of using args.

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
samuelcastrocommented, Mar 6, 2015

I resolved the problem just using: args: process.argv.slice(-2) like below:

gulp.task('protractor', ['webdriver_update'], function(cb) {
    gulp.src([]).pipe(protractor({
        configFile: './test/conf/protractor.conf.js',
        args: process.argv.slice(-2)
    })).on('error', function(e) {
        console.log(e);
    }).on('end', cb);
});

And just running: gulp protractor --suite mySuiteTest 😃

0reactions
caneraydinbeycommented, Dec 19, 2016

How can i call those params from protractor test classes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jury Deliberations - How Courts Work
After receiving the instructions and hearing the final arguments, the jury retires to the jury room to begin deliberating.
Read more >
unittest — Unit testing framework — Python 3.11.1 ...
Changed in version 3.2: Support for load_tests added. Changed in version 3.5: The undocumented and unofficial use_load_tests default argument is deprecated and ...
Read more >
Argument Escape Room Teaching Resources | TPT
Browse argument escape room resources on Teachers Pay Teachers, ... questions to help assess where students may need more direct help.
Read more >
The JVM Test Suite Plugin - Gradle User Manual
The JVM Test Suite plugin (plugin id: jvm-test-suite ) provides a DSL and API to model multiple groups of automated tests into test...
Read more >
Chinese room - Wikipedia
The centerpiece of Searle's argument is a thought experiment known as the Chinese room. The argument is directed against the philosophical positions of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found