Open christian-bromann opened 7 years ago
What if you try
$ gulp test:remote -- --maxinstances 10 --suite nameOfSuite
?
From @demshin on February 15, 2017 5:2
Than I have Task '--maxinstances' is not in your gulpfile
at stacktrace.
Hello! The problem is still relevant. There are any solutions?
still not fixed ... looks like a main feature to me! workaround could be multiple wdio.config files ... how are you guys solving this?
@christian-bromann @demshin hi, im able to resolve this based how protractor used to take arguments, so when I tried similar approach
.pipe(webdriver({
args: ['--suite', argv.suite]
}))
it worked for me.
@christian-bromann I take that back, it seems its ignoring args
and just runs specs
in wdio config file
From @demshin on February 14, 2017 11:27
The problem
I'm runing tests with wdio (also cucumber) with key --suite nameOfSuite, but all tests run.
Environment
gulp test:remote --maxinstances 10 --suite nameOfSuite
Details
there is part of my wdio.conf.js: `exports.config = {
If you need more information I will provide.
Copied from original issue: webdriverio/webdriverio#1872