1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-03-05 20:50:17 -08:00
n8n/cypress/e2e/8-http-request-node.cy.ts

23 lines
597 B
TypeScript
Raw Normal View History

import { WorkflowPage, NDV } from '../pages';
const workflowPage = new WorkflowPage();
const ndv = new NDV();
describe('HTTP Request node', () => {
before(() => {
cy.resetAll();
cy.skipSetup();
});
it('should make a request with a URL and receive a response', () => {
workflowPage.actions.addInitialNodeToCanvas('Manual');
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');
});
});