mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Fix disappearing NDV header in code nodes (#7290)
Github issue / Community forum post (link here to close automatically): --------- Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
committed by
GitHub
parent
4bc9164032
commit
7ebf8f327a
@@ -142,6 +142,12 @@ export class WorkflowPage extends BasePage {
|
||||
this.getters.nodeCreatorSearchBar().type(nodeDisplayName);
|
||||
this.getters.nodeCreatorSearchBar().type('{enter}');
|
||||
if (opts?.action) {
|
||||
// Expand actions category if it's collapsed
|
||||
nodeCreator.getters.getCategoryItem('Actions').parent().then(($el) => {
|
||||
if ($el.attr('data-category-collapsed') === 'true') {
|
||||
nodeCreator.getters.getCategoryItem('Actions').click();
|
||||
}
|
||||
});
|
||||
nodeCreator.getters.getCreatorItem(opts.action).click();
|
||||
} else if (!opts?.keepNdvOpen) {
|
||||
cy.get('body').type('{esc}');
|
||||
|
||||
Reference in New Issue
Block a user