mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix adding of wrong actions when filtering in the node actions panel (no-changelog) (#5518)
This commit is contained in:
@@ -112,6 +112,20 @@ describe('Node Creator', () => {
|
||||
NDVModal.getters.parameterInput('operation').should('contain.text', 'Crop');
|
||||
})
|
||||
|
||||
it('should search through actions and confirm added action', () => {
|
||||
nodeCreatorFeature.actions.openNodeCreator();
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('ftp');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').realPress('{rightarrow}');
|
||||
nodeCreatorFeature.getters.activeSubcategory().should('have.text', 'FTP');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('file');
|
||||
// Navigate to rename action which should be the 4th item
|
||||
nodeCreatorFeature.getters.searchBar().find('input').realPress('{downarrow}');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').realPress('{downarrow}');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').realPress('{downarrow}');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').realPress('{rightarrow}');
|
||||
NDVModal.getters.parameterInput('operation').should('contain.text', 'Rename');
|
||||
})
|
||||
|
||||
it('should render and select community node', () => {
|
||||
cy.intercept('GET', '/types/nodes.json').as('nodesIntercept');
|
||||
cy.wait('@nodesIntercept').then(() => {
|
||||
|
||||
Reference in New Issue
Block a user