-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Updating Cypress from version 12.1.0 to 12.3.0 #2669
Conversation
👇 Click on the image for a new way to code review
Legend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind you to update it also in /apps/widget
so we have the versions used in both apps aligned?
Let's see of tests will pass, last time i tried updating widget it didn't worked out :( Two major versions upgrade, been a few breaking changes there since |
apps/widget/package.json
Outdated
@@ -69,7 +69,7 @@ | |||
"@types/react-router-dom": "^5.1.7", | |||
"craco-antd": "^1.19.0", | |||
"cross-env": "^7.0.3", | |||
"cypress": "10.11.0", | |||
"cypress": "12.3.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"cypress": "12.3.0", | |
"cypress": "^12.3.0", |
So we both get it updated (web and widget) and just one single version in the dependency all the time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌟
Thanks @p-fernandez for approval, the end to end test for widget is still failing and I am not sure what the problem is for the api migration. We focused on replacing The exact point of failure is on line 167 where is trying to execute |
We might need to revisit the test. Just double checking it is not a timeout issue from Cypress. |
@RobertoCassino I've fixed failing widget tests, hope they will pass now ;) |
@RobertoCassino @p-fernandez @scopsy |
@LetItRock seems like it's a flaky tests that also happens regardless of this PR. My suggestion is to merge this one and deal with the race condition in another PR. WDYT? |
Crazy question: When would the next release be? Do you guys have a default cycle? |
@pieterge end of the month are the usual monthly cadence, however I plan to release a hotfix release until the end of the week 🙏 |
What change does this PR introduce?
This PR updates the cypress at apps/web/package.json (line 129) from version 12.1.0 to version 12.3.0.
Why was this change needed?
4 CVEs were found in novu, the version of the Cypress testing framework is the root cause here, as the version used is 12.1.0 and it includes and old version of the packages like simple-git and others.