mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(n8n Form Trigger Node): Improvements (#7571)
Github issue / Community forum post (link here to close automatically): --------- Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in> Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { WorkflowPage, NDV } from '../pages';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { getPopper, getVisiblePopper, getVisibleSelect } from '../utils';
|
||||
import { META_KEY } from '../constants';
|
||||
import { getVisibleSelect } from '../utils';
|
||||
|
||||
const workflowPage = new WorkflowPage();
|
||||
const ndv = new NDV();
|
||||
@@ -76,12 +74,25 @@ describe('n8n Form Trigger', () => {
|
||||
)
|
||||
.find('input')
|
||||
.type('Option 2');
|
||||
//add optionall submitted message
|
||||
cy.get('.param-options > .button').click();
|
||||
cy.get('.indent > .parameter-item')
|
||||
.find('input')
|
||||
|
||||
//add optional submitted message
|
||||
cy.get('.param-options').click();
|
||||
cy.contains('span', 'Text to Show')
|
||||
.should('exist')
|
||||
.parent()
|
||||
.parent()
|
||||
.next()
|
||||
.children()
|
||||
.children()
|
||||
.children()
|
||||
.children()
|
||||
.children()
|
||||
.children()
|
||||
.children()
|
||||
.first()
|
||||
.clear()
|
||||
.type('Your test form was successfully submitted');
|
||||
|
||||
ndv.getters.backToCanvas().click();
|
||||
workflowPage.getters.nodeIssuesByName('n8n Form Trigger').should('not.exist');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user