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

297
Visualizações
how to change the test file run order in cypress in run time

I have 3 different test files

1- testfile-1.js 2- testfile-2.js 3- testfiles-3.js

i can change the test file running order using testfiles feature in cypress.config file but i want to change the order runtime not hard coded.

looking for the solution

Regards

about 4 years ago · Juan Pablo Isaza
3 Respostas
Responde à pergunta

0

Change the file name to something like this in case you don't want to use testFiles: [] in your cypress.config.

01-testfile.spec.js
02-testfile.spec.js
03-testfile.spec.js
about 4 years ago · Juan Pablo Isaza Relatório

0

You can comma-separate the file names on the command line,

yarn cypress run --spec "testfile-1.js,testfile-2.js,testfiles-3.js"

Not sure if that guarantees the order though.

If no luck with that, it would be possible to guarantee the order by running with a special script (but it's more work).

about 4 years ago · Juan Pablo Isaza Relatório

0

i found a way

{
"chromeWebSecurity": false,

}

paste this in cypress.json and it will allow the external iframes to work in cypress

about 4 years ago · Juan Pablo Isaza 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