Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
Unable to run tests when passing multiple cucumber tags as run time argument in package.json

I am trying to run multiple cucumber tags when I am passing them from package.json. it is not able to invoke any tests however it works if i hardcode them in wdio.conf.js. I am using below statement in my package json file

"testscript": "npx wdio run ./wdio.conf.js --browser=chrome --parallel=true --cucumberOpts.tagExpression='@Login or @API'",

I am using cucumber framework 7.12.0 and Wdio cli version 7.16.10

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I have managed to get it working you need to below syntax

"scripts": {
"RunTest": "npx wdio run ./wdio.conf.js --cucumberOpts.tagExpression=\\\"@Login or @TCILogin\\\""

}

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!