jeudi 25 avril 2019

Cypress - not visible element for cmd run

When I start my automated test with cmd (via command cypress run) test allways fails with typing in element. It says that element is not visible. But when I start my test with browser it will allways pass.

enter image description here

Have someone same problem?

I can't change HTML code.

cy.get('#reasonRecommendationByAgent')
.type('Zdůvodnění doporučení zprostředkovatele')
.should('have.value', 'Zdůvodnění doporučení zprostředkovatele')

Thanks for all your help.

Aucun commentaire:

Enregistrer un commentaire