I'm running my script using cypress and wanted to know if there is any way to verify that a button is visible or not?

I’m running my script using cypress and wanted to know if there is any way to verify that a button is visible or not?

Hey Emma,

Yes. You can use this code:

cy.get('button#form-submit').should('be.visible')