mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
test(editor): Wait for workflow to execute before navigating away in e2e test (no-changelog) (#13527)
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
openContextMenu,
|
||||
} from '../composables/workflow';
|
||||
import { NDV, WorkflowExecutionsTab } from '../pages';
|
||||
import { clearNotifications, successToast } from '../pages/notifications';
|
||||
import { WorkflowPage as WorkflowPageClass } from '../pages/workflow';
|
||||
|
||||
const WorkflowPage = new WorkflowPageClass();
|
||||
@@ -489,6 +490,9 @@ describe('Canvas Node Manipulation and Navigation', () => {
|
||||
WorkflowPage.actions.addNodeToCanvas(CODE_NODE_NAME);
|
||||
WorkflowPage.actions.executeWorkflow();
|
||||
|
||||
successToast().should('contain.text', 'Workflow executed successfully');
|
||||
clearNotifications();
|
||||
|
||||
ExecutionsTab.actions.switchToExecutionsTab();
|
||||
ExecutionsTab.getters.successfulExecutionListItems().should('have.length', 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user