Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

219
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda