mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Use resource locator at Simple Vector Store memory key, allow cross workflow use (#15421)
Remove workflow isolation from in-memory Simple Vector Store, making it possible to use vector stores created on other workflows. Display all current in-memory vector stores with a resource locator at Memory Key picker. Note that these vector stores are still intended for non-production development use. Any users of an instance can access data in all in-memory vector stores as they aren't bound to workflows.
This commit is contained in:
@@ -3,7 +3,7 @@ import { setCredentialValues } from '../composables/modals/credential-modal';
|
||||
import {
|
||||
clickCreateNewCredential,
|
||||
getNdvContainer,
|
||||
selectResourceLocatorItem,
|
||||
selectResourceLocatorAddResourceItem,
|
||||
} from '../composables/ndv';
|
||||
import * as projects from '../composables/projects';
|
||||
import {
|
||||
@@ -299,9 +299,11 @@ describe('Projects', { disableAutoLogin: true }, () => {
|
||||
workflowPage.actions.saveWorkflowOnButtonClick();
|
||||
workflowPage.actions.addNodeToCanvas('Execute Workflow', true, true);
|
||||
|
||||
// This mock fails when running with `test:e2e:dev` but works with `test:e2e:ui`,
|
||||
// at least on macOS at version 1.94.0. ¯\_(ツ)_/¯
|
||||
cy.window().then((win) => cy.stub(win, 'open').callsFake((url) => cy.visit(url)));
|
||||
|
||||
selectResourceLocatorItem('workflowId', 0, 'Create a');
|
||||
selectResourceLocatorAddResourceItem('workflowId', 'Create a');
|
||||
// Need to wait for the trigger node to auto-open after a delay
|
||||
getNdvContainer().should('be.visible');
|
||||
cy.get('body').type('{esc}');
|
||||
|
||||
Reference in New Issue
Block a user