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

fix(editor): Fix custom API call notice #10227

Merged
merged 3 commits into from
Jul 30, 2024
Merged

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) {
Copy link
Member

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 🙏🏽

Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

He's OOO

@ivov ivov changed the title fix(editor): Fix custom api call notice fix(editor): Fix custom API call notice Jul 29, 2024
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jul 29, 2024
@ivov
Copy link
Contributor Author

ivov commented Jul 29, 2024

I'll ask @cstuncsik for help tomorrow. FE tests always a struggle :/

Copy link

cypress bot commented Jul 30, 2024



Test summary

389 0 0 0Flakiness 1


Run details

Project n8n
Status Passed
Commit 6145148
Started Jul 30, 2024 3:35 PM
Ended Jul 30, 2024 3:40 PM
Duration 04:38 💡
OS Linux Debian -
Browser Electron 118

View run in Cypress Cloud ➡️


Flakiness

e2e/30-editor-after-route-changes.cy.ts Flakiness
1 Editor actions should work > after switching between Editor and Executions

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

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link
Contributor

✅ All Cypress E2E specs passed

@ivov ivov merged commit 5b47c8b into master Jul 30, 2024
47 checks passed
@ivov ivov deleted the fix-custom-api-call-notice branch July 30, 2024 15:41
@github-actions github-actions bot mentioned this pull request Jul 31, 2024
@janober
Copy link
Member

janober commented Jul 31, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants