-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
fix(editor): Fix custom API call notice #10227
Conversation
@@ -97,11 +97,13 @@ export function useNodeHelpers() { | |||
|
|||
if (!isObject(parameters)) return false; | |||
|
|||
if ('resource' in parameters && 'operation' in parameters) { | |||
if ('resource' in parameters || 'operation' in parameters) { |
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.
since isCustomApiCallSelected
is exported, and since this composable has a test file already, can we please add a test for isCustomApiCallSelected
to prevent this from happening again 🙏🏽
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.
Maybe @elsmr can pitch in :)
Else I'll come to this later
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.
He's OOO
I'll ask @cstuncsik for help tomorrow. FE tests always a struggle :/ |
Test summaryRun details
Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud |
✅ All Cypress E2E specs passed |
✅ All Cypress E2E specs passed |
Got released with |
https://n8nio.slack.com/archives/C03594NKD7W/p1722239661807279
Broken here: https://github.com/n8n-io/n8n/pull/9583/files#diff-1003644eef3a21ff17fff2852d58d9c4372a0a38e03a7916aea75c3735bf76e4R80-R87