mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
fix(Set Node): Increase search priority (#7358)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
parent
afbf0c3d5e
commit
e5ad1e7e4d
|
@ -15,7 +15,10 @@ describe('Node Creator', () => {
|
|||
it('should open node creator on trigger tab if no trigger is on canvas', () => {
|
||||
nodeCreatorFeature.getters.canvasAddButton().click();
|
||||
|
||||
nodeCreatorFeature.getters.nodeCreator().contains('What triggers this workflow?').should('be.visible');
|
||||
nodeCreatorFeature.getters
|
||||
.nodeCreator()
|
||||
.contains('What triggers this workflow?')
|
||||
.should('be.visible');
|
||||
});
|
||||
|
||||
it('should navigate subcategory', () => {
|
||||
|
@ -73,7 +76,10 @@ describe('Node Creator', () => {
|
|||
nodeCreatorFeature.getters.nodeCreator().contains('What happens next?').should('be.visible');
|
||||
|
||||
nodeCreatorFeature.getters.getCreatorItem('Add another trigger').click();
|
||||
nodeCreatorFeature.getters.nodeCreator().contains('What triggers this workflow?').should('be.visible');
|
||||
nodeCreatorFeature.getters
|
||||
.nodeCreator()
|
||||
.contains('What triggers this workflow?')
|
||||
.should('be.visible');
|
||||
nodeCreatorFeature.getters.activeSubcategory().find('button').should('exist');
|
||||
nodeCreatorFeature.getters.activeSubcategory().find('button').click();
|
||||
nodeCreatorFeature.getters.nodeCreator().contains('What happens next?').should('be.visible');
|
||||
|
@ -321,7 +327,7 @@ describe('Node Creator', () => {
|
|||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('email');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'Email Trigger (IMAP)');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('Edit Fields (Set)');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('Set');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'Edit Fields (Set)');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('i');
|
||||
|
@ -329,7 +335,7 @@ describe('Node Creator', () => {
|
|||
nodeCreatorFeature.getters.nodeItemName().eq(1).should('have.text', 'Switch');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('sw');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('Edit Fields (Set)');
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('Edit F');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'Edit Fields (Set)');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('i');
|
||||
|
@ -422,10 +428,16 @@ describe('Node Creator', () => {
|
|||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'S3');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('no op');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'No Operation, do nothing');
|
||||
nodeCreatorFeature.getters
|
||||
.nodeItemName()
|
||||
.first()
|
||||
.should('have.text', 'No Operation, do nothing');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('do no');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'No Operation, do nothing');
|
||||
nodeCreatorFeature.getters
|
||||
.nodeItemName()
|
||||
.first()
|
||||
.should('have.text', 'No Operation, do nothing');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('htt');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'HTTP Request');
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"alias": ["Filter", "Set", "Data"]
|
||||
"alias": ["Filter", "_Set", "Data"]
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"alias": ["JSON", "Filter", "Transform", "Map", "Set"],
|
||||
"alias": ["Set", "JSON", "Filter", "Transform", "Map"],
|
||||
"subcategories": {
|
||||
"Core Nodes": ["Data Transformation"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue