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

235
Vistas
Why Cypress.config('defaultCommandTimeout', 10000); is not working in my script for this suggestive drop-down button which shall wait for 10s

I know there is this solution by adding 'defaultCommandTimeout' in the cypress.json file, but I do not want to add wait in my entire test framework and need to only wait for one particular element. Please go through the screenshots and help me out!

    add.getCountry().type('India');
    Cypress.config('defaultCommandTimeout', 10000);
    add.selectCountry().click();

Cypress result:

cypress result

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can add timeouts to individual cypress commands, something like:

cy.get('.suggestions > ul > li > a', { timeout: 10000 }).should('be.visible')
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