Category – Cypress
4 posts tagged with "Cypress" (See all categories)

VVariables with Abstract-With-As

11/01/20192 Min Read — In Cypress

Cypress ' documentation on Variables and Aliases does a great job explaing all the options. What I'd like to propose is the best option. I have gone back and forth with how to set and get…

CCypress + LaunchDarkly (or any Feature Flag Tool)

10/26/20192 Min Read — In Cypress

Feature Flagging is incredibly powerful as it enables canary releases . Good tools, such as LaunchDarkly , allow you (the developer) or the product manager (PM) to easily toggle on who sees what…

SSanity Check Script

10/26/20191 Min Read — In Cypress

It's incredibly frustrating when you start a test suite, step away for a few minutes, then come back and see that the whole test suite failed. 0% passing. You spend a few minutes diving in to the…

RReplace cy.wait Magic Numbers with forEvent

10/25/20191 Min Read — In Cypress

Magic Numbers. They are an anti-pattern because they are arbitrary and provide no context. This leads to confusion ("What is this number?") and fear of removing it ("I can't remove it. I don't know…