-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress 12.0 Features #15
Comments
Hey @alexfinnarn, I work on the Provider Data Catalog (PDC) product. We recently upgraded Cypress from v10.16.0 to v12.3.0. We have 914 tests in our suite right now. Some of the most notable things that affected us were
It took me several days to work through this update. I hope this helps. |
Thanks for the update @brentonkelly1982 ! Very good notes to have.
So would you say the test isolation change caused the biggest impact while upgrading the test suite? I haven't gotten a chance to look at the Open Data projects' test suites yet, but for the Drupal sites, since most data is persisted in the Drupal database and |
You bet @alexfinnarn!
Yes, this was definitely the biggest impact. It caused me to edit every spec we have to add at least a |
@brentonkelly1982 You might want to look at the |
Thanks @alexfinnarn. I upgrade our Cypress to 12.5.0 last week and added that in. |
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.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.
The text was updated successfully, but these errors were encountered: