mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(editor): Add 'Whats new' section and modal (#16664)
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import { MainSidebar } from '../pages/sidebar/main-sidebar';
|
||||
|
||||
const mainSidebar = new MainSidebar();
|
||||
|
||||
/**
|
||||
* Getters
|
||||
*/
|
||||
|
||||
export function getVersionUpdatesPanelOpenButton() {
|
||||
return cy.getByTestId('version-updates-panel-button');
|
||||
return cy.getByTestId('version-update-next-versions-link');
|
||||
}
|
||||
|
||||
export function getVersionUpdatesPanel() {
|
||||
@@ -22,9 +26,13 @@ export function getVersionCard() {
|
||||
* Actions
|
||||
*/
|
||||
|
||||
export function openWhatsNewMenu() {
|
||||
mainSidebar.getters.whatsNew().should('be.visible');
|
||||
mainSidebar.getters.whatsNew().click();
|
||||
}
|
||||
|
||||
export function openVersionUpdatesPanel() {
|
||||
getVersionUpdatesPanelOpenButton().click();
|
||||
getVersionUpdatesPanel().should('be.visible');
|
||||
getVersionUpdatesPanelOpenButton().should('be.visible').click();
|
||||
}
|
||||
|
||||
export function closeVersionUpdatesPanel() {
|
||||
|
||||
Reference in New Issue
Block a user