Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

221
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda