fix(editor): Do not break NDV for version-less nodes (#8714)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-22 15:37:29 +01:00
committed by GitHub
parent 246f8cfcc3
commit 8a88d15684
3 changed files with 44 additions and 47 deletions

View File

@@ -517,6 +517,11 @@ describe('NDV', () => {
ndv.getters.nodeVersion().should('have.text', 'Edit Fields (Set) node version 3.3 (Latest)');
ndv.actions.close();
workflowPage.actions.openNode('Edit Fields (no typeVersion)');
ndv.actions.openSettings();
ndv.getters.nodeVersion().should('have.text', 'Edit Fields (Set) node version 3.3 (Latest)');
ndv.actions.close();
workflowPage.actions.openNode('Function');
ndv.actions.openSettings();
ndv.getters.nodeVersion().should('have.text', 'Function node version 1 (Deprecated)');