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

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

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 Denunciar

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 Denunciar

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 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