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

173
Vistas
Suppressing log output from cypress commands

below is the code i am using to validate that download made it to the downloads folder. The file is of csv format. filepath is declared at the top.

the test passes but the command log outputs the entire content from the file for both the assertions(should and contains). how do i suppress the command log from outputting the entire body from the file. i already tried passing the false flag and it still outputs everything. using cypress version 9.2

it('verify download',() => {   
  // some code here to fill in the form data and initiate download
  cy.readFile(filepath,{
    log : false
  }).should('exist').and('contains',"some text to assert")
})
about 4 years ago · Juan Pablo Isaza
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