cypress Cypress Tip: Don't Overuse the Visibility Assertion Cypress makes assertions easy with the should command and an intuitive way to leverage the ubiquitous Chai assertion library. Let's say, for example, that our application is the Real World Mike Cataldo 25 Feb 2021 • 2 min read
cypress Cypress Tip: In-Spec Functions Let's imagine you have a bunch of repeatable code in your tests: it('should do this thing', () => { // ... cy.get('#thisElement') .then($el => { // some unusual hackery here }) // ... }) it( Mike Cataldo 3 Feb 2021 • 1 min read
cypress Cypress Tip: Get the Cypress Dashboard App If you're familiar with the Cypress Dashboard, you might immediately suspect that I'm clickbaiting you, but stay with me! In Chrome there's a way to add shortcuts to ordinary sites Mike Cataldo 29 Jan 2021 • 1 min read