mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(core): Update LLM applications building support (no-changelog) (#7710)
extracted out of #7336 --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
committed by
GitHub
parent
4a89504d54
commit
117962d473
@@ -1,6 +1,6 @@
|
||||
import 'cypress-real-events';
|
||||
import { WorkflowPage } from '../pages';
|
||||
import { BACKEND_BASE_URL, N8N_AUTH_COOKIE } from '../constants';
|
||||
import { BACKEND_BASE_URL, INSTANCE_MEMBERS, INSTANCE_OWNER, N8N_AUTH_COOKIE } from '../constants';
|
||||
|
||||
Cypress.Commands.add('getByTestId', (selector, ...args) => {
|
||||
return cy.get(`[data-test-id="${selector}"]`, ...args);
|
||||
@@ -169,6 +169,13 @@ Cypress.Commands.add('draganddrop', (draggableSelector, droppableSelector) => {
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('push', (type, data) => {
|
||||
cy.request('POST', `${BACKEND_BASE_URL}/rest/e2e/push`, {
|
||||
type,
|
||||
data,
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('shouldNotHaveConsoleErrors', () => {
|
||||
cy.window().then((win) => {
|
||||
const spy = cy.spy(win.console, 'error');
|
||||
|
||||
Reference in New Issue
Block a user