mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
✔️ Updating e2e tests, re-ordering node aliases
This commit is contained in:
parent
0e469524dc
commit
d398ee0e26
|
@ -357,7 +357,8 @@ describe('Node Creator', () => {
|
|||
WorkflowPage.getters.getConnectionBetweenNodes('Replace Me', 'Loop Over Items').should('exist');
|
||||
});
|
||||
|
||||
it.only('should have most relevant nodes on top when searching', () => {
|
||||
// TODO: Move these to unit tests (packages/editor-ui/src/utils/sortUtils.test.ts)
|
||||
it('should have most relevant nodes on top when searching', () => {
|
||||
nodeCreatorFeature.getters.canvasAddButton().click();
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('email');
|
||||
|
@ -447,7 +448,8 @@ describe('Node Creator', () => {
|
|||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'Schedule Trigger');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('time');
|
||||
nodeCreatorFeature.getters.nodeItemName().eq(1).should('have.text', 'Schedule Trigger');
|
||||
nodeCreatorFeature.getters.nodeItemName().first().should('have.text', 'Schedule Trigger');
|
||||
nodeCreatorFeature.getters.nodeItemName().eq(1).should('have.text', 'Date & Time');
|
||||
nodeCreatorFeature.getters.nodeItemName().eq(2).should('have.text', 'Wait');
|
||||
|
||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('mail');
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"alias": ["code", "Javascript", "JS", "Script", "Custom Code", "Function", "AI", "LLM"],
|
||||
"alias": ["code", "AI", "LLM", "Javascript", "JS", "Script", "Custom Code", "Function"],
|
||||
"subcategories": {
|
||||
"Core Nodes": ["Data Transformation"]
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"alias": ["cpde", "Function", "Javascript", "JS", "Python", "Script", "Custom Code"],
|
||||
"alias": ["cpde", "Javascript", "JS", "Function", "Python", "Script", "Custom Code"],
|
||||
"subcategories": {
|
||||
"Core Nodes": ["Helpers", "Data Transformation"]
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"alias": ["Set", "JS", "JSON", "Filter", "Transform", "Map"],
|
||||
"alias": ["Set", "Filter", "Transform", "JS", "JSON", "Map"],
|
||||
"subcategories": {
|
||||
"Core Nodes": ["Data Transformation"]
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"alias": ["pause", "sleep", "delay", "timeout"],
|
||||
"alias": ["pause", "sleep", "delay", "time", "timeout"],
|
||||
"subcategories": {
|
||||
"Core Nodes": ["Helpers", "Flow"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue