Skip to content
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

Running tests is not dependent on key --suite #1872

Closed
demshin opened this issue Feb 14, 2017 · 3 comments
Closed

Running tests is not dependent on key --suite #1872

demshin opened this issue Feb 14, 2017 · 3 comments

Comments

@demshin
Copy link

demshin commented Feb 14, 2017

The problem

I'm runing tests with wdio (also cucumber) with key --suite nameOfSuite, but all tests run.

Environment

  • WebdriverIO version: 4.6.2
  • Node.js version: 6.9.5
  • I run test via gulp gulp test:remote --maxinstances 10 --suite nameOfSuite
  • it's running on remote grid
  • I'm using allure report

Details

there is part of my wdio.conf.js:
`exports.config = {

host: argv.seleniumhost || '10.241.5.140',
port: 4444,
path: '/wd/hub',

specs: [
    './features/**/*.feature'
],
suites: {

    regression: [
        './features/nsi/kpgz-spgz/*.feature',
        './features/bktz/libcontract/*.feature',
        './features/nsi/participant/*.feature',
        './features/nsi/reference/*.feature',
        './features/normalization/*.feature',
        './features/comission/*.feature'
    ],
    scrum: [
        './features/scrum/**/*.feature'
    ],
    nsi: [
        './features/nsi/kpgz-spgz/*.feature',
        './features/nsi/participant/*.feature',
        './features/nsi/reference/*.feature'
    ],
    bktz: [
        './features/bktz/libcontract/*.feature',
        './features/bktz/criteria/*.feature'
    ],
    normalization: [
        './features/normalization/*.feature'
    ],
    comission: [
        './features/comission/*.feature'
    ]

}`

If you need more information I will provide.

@christian-bromann
Copy link
Member

What if you try

$ gulp test:remote -- --maxinstances 10 --suite nameOfSuite

?

@demshin
Copy link
Author

demshin commented Feb 15, 2017

Than I have Task '--maxinstances' is not in your gulpfile at stacktrace.

@christian-bromann
Copy link
Member

This issue was moved to webdriverio-boneyard/gulp-webdriver#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants