mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Redirect to workflows list after deleting a workflow (#9546)
This commit is contained in:
committed by
GitHub
parent
105b11b653
commit
cadb59fecb
@@ -6,7 +6,6 @@ import {
|
||||
EDIT_FIELDS_SET_NODE_NAME,
|
||||
INSTANCE_MEMBERS,
|
||||
INSTANCE_OWNER,
|
||||
WEBHOOK_NODE_NAME,
|
||||
} from '../constants';
|
||||
import { WorkflowPage as WorkflowPageClass } from '../pages/workflow';
|
||||
import { WorkflowsPage as WorkflowsPageClass } from '../pages/workflows';
|
||||
@@ -205,7 +204,7 @@ describe('Workflow Actions', () => {
|
||||
cy.get('div[role=dialog][aria-modal=true]').should('be.visible');
|
||||
cy.get('button.btn--confirm').should('be.visible').click();
|
||||
WorkflowPage.getters.successToast().should('exist');
|
||||
cy.url().should('include', '/workflow/new');
|
||||
cy.url().should('include', WorkflowPages.url);
|
||||
});
|
||||
|
||||
describe('duplicate workflow', () => {
|
||||
|
||||
Reference in New Issue
Block a user