lundi 2 décembre 2019

cypress invoke('removeAttr', 'target') not working

this is my cypress code cy.get(${sitestovisit.searchBoxFormID} > form) .should('have.attr', 'target') .invoke('removeAttr', 'target')

and it shows that there is target attribute in form, but when i tried to remove it, it is not working enter image description here

Aucun commentaire:

Enregistrer un commentaire