mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
feat(editor): Add Alt+Meta+O keyboard shortcut for the About modal (#18530)
This commit is contained in:
@@ -448,4 +448,9 @@ describe('Canvas Node Manipulation and Navigation', () => {
|
||||
NDVDialog.actions.close();
|
||||
});
|
||||
});
|
||||
|
||||
it('should open and close the about modal on keyboard shortcut', () => {
|
||||
WorkflowPage.actions.hitOpenAbout();
|
||||
cy.getByTestId('close-about-modal-button').click();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -390,6 +390,9 @@ export class WorkflowPage extends BasePage {
|
||||
hitDisableNodeShortcut: () => {
|
||||
cy.get('body').type('d');
|
||||
},
|
||||
hitOpenAbout: () => {
|
||||
cy.get('body').type(`{alt}{${META_KEY}}o`);
|
||||
},
|
||||
hitCopy: () => {
|
||||
this.actions.hitComboShortcut(`{${META_KEY}}`, 'c');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user