What is the difference between:

* `cy.contains('text').should('be.visible')`; and
* `cy.should('be.visible','text')`?

Because for me the first option is working to check the text but the second it doesn't check properly, so I was wondering in which cases I can use the second option for checking the text?