mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Restrict [empty] in parameter input hint to zero-length string (#6003)
* 🚧 Quick test * ⚡ Adjust to new requirements * ⚡ Account for 2x double quotes * 🔥 Remove excess single quote * ⏪ Revert per new requirements * ⏪ Undo more changes to minimize diff * ⏪ New requirement changes * 🐛 Prevent excess whitespace from HTML formatting * 🚚 Rename computed property * 🧪 Set up e2e tests for parameter input hint * 🚧 Experiments with unit tests Pinia stores setup process WIP. * 🔥 Remove e2e test * ⏪ Restore `test` command * 🔥 Remove unit test stub * 🔥 Remove logging * 🔥 Remove test ID * 🧪 Fix e2e test * 🧪 Tighten text check
This commit is contained in:
@@ -205,7 +205,7 @@ describe('Data mapping', () => {
|
||||
'have.text',
|
||||
`{{ $node['${SCHEDULE_TRIGGER_NODE_NAME}'].json.input[0].count }} {{ $node['${SCHEDULE_TRIGGER_NODE_NAME}'].json.input }}`,
|
||||
);
|
||||
ndv.getters.parameterExpressionPreview('value').should('include.text', '[empty]');
|
||||
ndv.getters.parameterExpressionPreview('value').should('have.text', ' ');
|
||||
|
||||
ndv.actions.selectInputNode('Set');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user