mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Update NPS Value Survey (#9638)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in> Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { WorkflowPage as WorkflowPageClass } from '../pages/workflow';
|
||||
import { NDV } from '../pages/ndv';
|
||||
import { successToast } from '../pages/notifications';
|
||||
|
||||
const WorkflowPage = new WorkflowPageClass();
|
||||
const ndv = new NDV();
|
||||
@@ -28,13 +29,13 @@ describe('Code node', () => {
|
||||
it('should execute the placeholder successfully in both modes', () => {
|
||||
ndv.actions.execute();
|
||||
|
||||
WorkflowPage.getters.successToast().contains('Node executed successfully');
|
||||
successToast().contains('Node executed successfully');
|
||||
ndv.getters.parameterInput('mode').click();
|
||||
ndv.actions.selectOptionInParameterDropdown('mode', 'Run Once for Each Item');
|
||||
|
||||
ndv.actions.execute();
|
||||
|
||||
WorkflowPage.getters.successToast().contains('Node executed successfully');
|
||||
successToast().contains('Node executed successfully');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user