https://cypress.io logo
Yeah, I agree with SuperCuber. This method adds li...
# best-practices
f
Yeah, I agree with SuperCuber. This method adds little I meant more that you could do things like
Copy code
cy.get('button')
  .should("have.attr", "enabled")
  .click({force: true})
force:true
will mean that cypress will click as soon as it detects the element. Having an assertion on there means that you can control which state the button should have before continuing