diff --git a/.github/workflows/tagged_release.yml b/.github/workflows/tagged_release.yml index b66677b1..44bfa6f9 100644 --- a/.github/workflows/tagged_release.yml +++ b/.github/workflows/tagged_release.yml @@ -145,7 +145,7 @@ jobs: $url = $null foreach ($asset in $RESPONSE_JSON.assets) { - if ($asset.browser_download_url -match ".zip") { + if ($asset.browser_download_url -match "-win.zip") { $url = $asset.browser_download_url break } diff --git a/core/apps/ame-e2e/src/integration/generation/generate-open-api.cy.ts b/core/apps/ame-e2e/src/integration/generation/generate-open-api.cy.ts index 0a638063..751441de 100644 --- a/core/apps/ame-e2e/src/integration/generation/generate-open-api.cy.ts +++ b/core/apps/ame-e2e/src/integration/generation/generate-open-api.cy.ts @@ -125,8 +125,10 @@ describe('Test generation and download of open api specification', () => { ) .then(() => cy.get(GENERATION_uploadContentFileInput).attachFile('valid-yml.yml')) .then(() => cy.get(GENERATION_uploadContent).should('not.exist')) - .then(() => cy.get(GENERATION_accordionTitle).should('exist').should('be.visible').should('contain.text', 'Properties')).wait(3000) - .then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force:true})).wait(3000) + .then(() => cy.get(GENERATION_accordionTitle).should('exist').should('be.visible').should('contain.text', 'Properties')) + .wait(3000) + .then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force: true})) + .wait(3000) .then(() => cy.fixture('cypress/downloads/AspectDefault-open-api.yaml')); }); @@ -143,7 +145,7 @@ describe('Test generation and download of open api specification', () => { .then(() => cy.get(GENERATION_tbBaseUrlInput).focus().clear().type('https://example.com').blur()) .wait(7000) .then(() => cy.get(GENERATION_tbBaseUrlInputError).should('not.exist')) - .then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force:true}).wait(5000)) + .then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force: true}).wait(5000)) .then(() => cy.fixture('cypress/downloads/AspectDefault-open-api.yaml')); }); diff --git a/core/electron-libs/menu/edit-sub-menu.js b/core/electron-libs/menu/edit-sub-menu.js index 28e0fda2..f4cfe623 100644 --- a/core/electron-libs/menu/edit-sub-menu.js +++ b/core/electron-libs/menu/edit-sub-menu.js @@ -26,14 +26,14 @@ function editSubmenu(translation) { { id: 'OPEN_SELECTED_ELEMENT', label: translation.OPEN_SELECTED_ELEMENT, - enabled: false, + enabled: true, icon: getIcon(icons.OPEN_SELECTED_ELEMENT.disabled), click: (menuItem, browserWindow, _) => browserWindow.webContents.send(SIGNAL_OPEN_SELECTED_ELEMENT), }, { id: 'REMOVE_SELECTED_ELEMENT', label: translation.REMOVE_SELECTED_ELEMENT, - enabled: false, + enabled: true, icon: getIcon(icons.REMOVE_SELECTED_ELEMENT.disabled), click: (menuItem, browserWindow, _) => browserWindow.webContents.send(SIGNAL_REMOVE_SELECTED_ELEMENT), }, @@ -52,7 +52,7 @@ function editSubmenu(translation) { { id: 'CONNECT_ELEMENTS', label: translation.CONNECT_SELECTED_ELEMENTS, - enabled: false, + enabled: true, icon: getIcon(icons.CONNECT_ELEMENTS.disabled), click: (menuItem, browserWindow, _) => browserWindow.webContents.send(SIGNAL_CONNECT_ELEMENTS), }, diff --git a/core/libs/editor/src/lib/editor-toolbar/components/generate-open-api/generate-open-api.component.html b/core/libs/editor/src/lib/editor-toolbar/components/generate-open-api/generate-open-api.component.html index 13b69c8e..f11cf57d 100644 --- a/core/libs/editor/src/lib/editor-toolbar/components/generate-open-api/generate-open-api.component.html +++ b/core/libs/editor/src/lib/editor-toolbar/components/generate-open-api/generate-open-api.component.html @@ -195,7 +195,9 @@