fix(n8n Form Node): Remove field requirement and do not inherit description (#14254)

This commit is contained in:
Dana
2025-04-01 12:21:39 +02:00
committed by GitHub
parent 87bc38d409
commit 4bc1c1a547
11 changed files with 122 additions and 162 deletions

View File

@@ -14,7 +14,6 @@ describe('n8n Form Trigger', () => {
workflowPage.getters.nodeCreatorNodeItems().contains('On form submission').click();
ndv.getters.parameterInput('formTitle').type('Test Form');
ndv.getters.parameterInput('formDescription').type('Test Form Description');
ndv.getters.parameterInput('fieldLabel').type('Test Field 1');
ndv.getters.backToCanvas().click();
workflowPage.getters.nodeIssuesByName('On form submission').should('not.exist');
});
@@ -26,9 +25,10 @@ describe('n8n Form Trigger', () => {
});
ndv.getters.parameterInput('formTitle').type('Test Form');
ndv.getters.parameterInput('formDescription').type('Test Form Description');
//fill up first field of type number
cy.get('[data-test-id="fixed-collection-add"]').click();
ndv.getters.parameterInput('fieldLabel').type('Test Field 1');
ndv.getters.parameterInput('fieldType').click();
//fill up first field of type number
getVisibleSelect().contains('Number').click();
cy.get(
'[data-test-id="parameter-input-requiredField"] > .parameter-input > .el-switch > .el-switch__core',