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

211
Visualizações
Cypress.io is executing commented code lines

I have updated my cypress version to new version V 10.0.3 and it is running commented code lines in the test case.

below is the test case I have written and the commented lines are also included.

 it.only('Check the item upload file validations', () => {
    //cy.get('[icon="fa fa-cloud-upload"]').click();
    // cy.get('#itemListController')
    //     .attachFile('itemfile.xlsx');
    //     cy.get('.p-float-label > [type="submit"]').click()
})

This is cypress excuting it in the browser

Cypress executing commented code

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

First exit from the tests, close the test runner. Make changes and save it. The again start executing the tests from scratch. If you want your changes to be visible on the go, add this to your cypress config file -

watchForFileChanges: true
about 4 years ago · Juan Pablo Isaza Relatório

0

your answer worked @Alapan Das , I noticed that cypress have left Integration folder of previous cypress version and created e2e folder with same changes of previous integration folder.

I was working with integration folder which they mentioned they are migrating in the new version installation, but it was left behind by them for one test .js file it seems for the file i was working on.

test runner was running the e2e folder test.js file even if i was making changes for the integration folder test.js file through the test runner.

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