Skip to content
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

feat: use cypress >= 10 examples only and remove cypress 9 examples #690

Merged
merged 3 commits into from Sep 6, 2023

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Sep 5, 2023

Cypress 9 hasn't been updated for about 18 months. To consolidate examples and reduce maintenance, these examples have been removed. The plugin has not changed, therefor this is not a breaking change.

Previously there were two testing directories, test-cypress-old and test-cypress-new. test-cypress-old was examples written for cypress v9 and under, which has been removed. test-cypress-new, on the other hand, is cypress >=10, is current cypress. These files have been hoisted a directory up and test-cypress-new has been removed. additionally, the package.json from test-cypress-new was merged into the root directory package.json as devDependencies .

There were also a few changes to update cypress in the root directory from v9 to v13, including some minor test isolation changes to visit beforeEach as test isolation is now enabled. Additionally, any package jsons referencing the .bin directory in node modules have been replaced with npx invocations as this is the new standard.

@@ -5,13 +5,11 @@ describe('coverage information', () => {
cy.visit('/')
})

it('calls add', () => {
it('calls add & sub', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to be one test due to test isolation. separate test is covered in before-each-visit

@AtofStryker
Copy link
Contributor Author

required checks are updated. merging in

@AtofStryker AtofStryker merged commit 796d2bf into master Sep 6, 2023
20 checks passed
@AtofStryker AtofStryker deleted the chore/use_new_cypress_only branch September 6, 2023 17:19
@cypress-app-bot
Copy link

🎉 This PR is included in version 3.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants