-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
While setting up Cypress for this repo, the cypress open
command now has helpful release notes displayed before you get to the test runner screens.
I really like this update and how it makes it easier to follow the main changes. From my perspective, I thought two updates are worth making examples of:
-
cy.origin()
- I once was trying to test Salesforce with Cypress and that login process goes to another domain to authenticate which of course breaks the Cypress test. I wonder if this can be used for MiniOrange 2FA (used on WECMS) or other CA projects. - "clear the page, cookies, localStorage, and sessionStorage before each test" - This could screw up some tests if people are not aware before updating Cypress. I think I've relied on authentication carrying over to tests within a spec file, but now using
cy.session()
would be the way to go.
Feel free to add other features that would be good to capture in examples and docs. I haven't tried the component testing out so I'm not sure what's going on with non-e2e Cypress testing features.
https://docs.cypress.io/guides/references/changelog#12-0-0
Dang...they are already on 12.2.0...I can't keep up.
Metadata
Metadata
Assignees
Labels
No labels