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

103
Visualizações
Cypress test freezes for some seconds while standalone app doesn't

I have a couple of Cypress tests for a given application and I've observed that the Cypress environment freezes sometimes for a couple of seconds and then continues working. By freezing I mean that the timer on the top-left stops working and I can't stop the tests until it unfreezes. This happens in both headed and headless mode (in the latter I've seen it in the video).

This freezing does not occur when working directly with the app, i.e. doing by hand what the test does. The test seems to freeze always on the same spots.

I have the feeling that something is blocking the event loop. I have a custom command that under certain circumstances calls cy.sleep(100) and then calls itself recursively... but it doesn't make too much sense to me that cy.sleep can cause this behaviour.

Overall the tests work fine, but these extra delays here and there sum up to an annoyingly long testing time.

Any idea would be appreciated.

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