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

150
Visualizações
Creating executable for Selenium tests

I wrote some tests for my Vue app using Selenium, and I'm trying to create an executable so I won't need to install or copy the entire node_modules files each time I want to run my tests. The problem is I didn't find a way to do it.

Currently, I'm running my tests with two terminals like this:

On the first terminal: npm run selenium

Where 'selenium' stand for this script: "./node_modules/protractor/bin/webdriver-manager update && ./node_modules/protractor/bin/webdriver-manager start"

On the second terminal, in a test directory I want to test with the selenium tests I wrote:

  • Starting up the server
  • then, running "npm run --prefix /directory_name/ protractor test/e2e/conf.js -- -disableChecks --url=`grep Server file.log|awk '{print $6}'"

Where "/directory_name/" is including the node_modules files.

My goal is to run everything together with one executable and without the need to install node_module.

Any suggestions?

Thanks in advance! :)

about 4 years ago · Santiago Gelvez
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