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

99
Visualizações
Cypress scroll on test failure

Im trying to find out if it's possible to make a viewport scroll to bottom of the page when the tests fails so I can see what is the state of the page on failure (video record) because it's not shown in full during recording. Other thing would be possible the screenshot but that also would need to be taken on the whole page not just the available viewport height not sure how to setup this.

I've tried this but doesn't seem to work.

Cypress.Screenshot.defaults({
  capture: 'fullPage',
})

Anyway scroll of the page to the bottom so its recorder in the video on failure would be the best option.

Any ideas if this is possible? How to do it?

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