-
Notifications
You must be signed in to change notification settings - Fork 367
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
test: Update notification language in test to correspond with API change #9972
test: Update notification language in test to correspond with API change #9972
Conversation
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.
@@ -38,7 +38,7 @@ describe('resize linode', () => { | |||
|
|||
// TODO: Unified Migration: [M3-7115] - Replace with copy from API '../notifications.py' |
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.
Not related to this, but I noticed we kind of leaked some API code info here. Not a huge deal because it's super basic, but I think we generally try to avoid this.
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.
This is a good callout, thanks @bnussman-akamai -- I read these comments but didn't think twice about the code reference there. I know there's another reference to this code elsewhere in this spec, and it might be worthwhile doing a quick search to find any other API code references that might be lurking around.
Coverage Report: ✅ |
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.
LGTM 🚢
Description 📝
Fixes the
resize-linode.spec.ts
test by updating the notice string to match the language used by the API since the release of unified migrations.Changes 🔄
How to test 🧪
We can rely on CI for this, but to run the test locally you can use
yarn && yarn build && yarn start:manager:ci
, and then:yarn cy:run -s "cypress/e2e/core/linodes/resize-linode.spec.ts"
(Only the first test is modified by this PR, and it's the only test that's failing, so you don't have to wait for the entire spec to run since these are some of our most time consuming tests.)
As an Author I have considered 🤔
Check all that apply