mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
874c735d0a
* feat(editor): Load workflow sharedWith info only when opening share modal (#5125) * feat(editor): load workflow sharedWith info only when opening share modal * fix(editor): update workflow share modal loading state at the end of initialize fn * feat: initial recycle scroller commit * feat: prepare recycle scroller for dynamic item sizes (no-changelog) * feat: add recycle scroller with variable size support and caching * feat: integrated recycle scroller with existing resources list * feat: improve recycle scroller performance * fix: fix recycle-scroller storybook * fix: update recycle-scroller styles to fix scrollbar size * chore: undo vite config changes * chore: undo installed packages * chore: remove commented code * chore: remove vue-virtual-scroller code. * feat: update size cache updating mechanism * chore: remove console.log * fix: adjust code for e2e tests * fix: fix linting issues
27 lines
749 B
TypeScript
27 lines
749 B
TypeScript
import { WorkflowPage, WorkflowsPage, NDV } from '../pages';
|
|
|
|
const workflowsPage = new WorkflowsPage();
|
|
const workflowPage = new WorkflowPage();
|
|
const ndv = new NDV();
|
|
|
|
describe('HTTP Request node', () => {
|
|
beforeEach(() => {
|
|
cy.resetAll();
|
|
cy.skipSetup();
|
|
});
|
|
|
|
it('should make a request with a URL and receive a response', () => {
|
|
cy.visit(workflowsPage.url);
|
|
|
|
workflowsPage.actions.createWorkflowFromCard();
|
|
workflowPage.actions.addInitialNodeToCanvas('Manual Trigger');
|
|
workflowPage.actions.addNodeToCanvas('HTTP Request');
|
|
workflowPage.actions.openNode('HTTP Request');
|
|
ndv.actions.typeIntoParameterInput('url', 'https://catfact.ninja/fact');
|
|
|
|
ndv.actions.execute();
|
|
|
|
ndv.getters.outputPanel().contains('fact');
|
|
});
|
|
});
|