mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(core): Revert custom API option injecting (#5345)
Revert "feat(core): Fix populating of node custom api call options (#5303)"
This reverts commit e58bc41d24.
This commit is contained in:
@@ -87,16 +87,4 @@ describe('NDV', () => {
|
||||
cy.get('[class*=hasIssues]').should('have.length', 1);
|
||||
});
|
||||
});
|
||||
|
||||
it('should show http node hint if node has custom api option', () => {
|
||||
workflowPage.actions.addNodeToCanvas('Manual Trigger');
|
||||
workflowPage.actions.addNodeToCanvas('Slack', true, true);
|
||||
ndv.getters.httpRequestNotice().should('not.exist');
|
||||
ndv.getters.parameterInput('operation').click();
|
||||
ndv.getters.parameterInput('operation').contains('Custom API').click();
|
||||
ndv.getters.httpRequestNotice().should('be.visible');
|
||||
ndv.getters.parameterInput('operation').click();
|
||||
ndv.getters.parameterInput('operation').contains('Post').click();
|
||||
ndv.getters.httpRequestNotice().should('not.exist');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -27,7 +27,6 @@ export class NDV extends BasePage {
|
||||
parameterInput: (parameterName: string) => cy.getByTestId(`parameter-input-${parameterName}`),
|
||||
nodeNameContainer: () => cy.getByTestId('node-title-container'),
|
||||
nodeRenameInput: () => cy.getByTestId('node-rename-input'),
|
||||
httpRequestNotice: () => cy.getByTestId('node-parameters-http-notice'),
|
||||
};
|
||||
|
||||
actions = {
|
||||
|
||||
Reference in New Issue
Block a user