Skip to content

Commit 19aee83

Browse files
authored
Fixing release for windows (#236)
1 parent 84e33bc commit 19aee83

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.github/workflows/tagged_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
146146
$url = $null
147147
foreach ($asset in $RESPONSE_JSON.assets) {
148-
if ($asset.browser_download_url -match ".zip") {
148+
if ($asset.browser_download_url -match "-win.zip") {
149149
$url = $asset.browser_download_url
150150
break
151151
}

core/apps/ame-e2e/src/integration/generation/generate-open-api.cy.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,10 @@ describe('Test generation and download of open api specification', () => {
125125
)
126126
.then(() => cy.get(GENERATION_uploadContentFileInput).attachFile('valid-yml.yml'))
127127
.then(() => cy.get(GENERATION_uploadContent).should('not.exist'))
128-
.then(() => cy.get(GENERATION_accordionTitle).should('exist').should('be.visible').should('contain.text', 'Properties')).wait(3000)
129-
.then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force:true})).wait(3000)
128+
.then(() => cy.get(GENERATION_accordionTitle).should('exist').should('be.visible').should('contain.text', 'Properties'))
129+
.wait(3000)
130+
.then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force: true}))
131+
.wait(3000)
130132
.then(() => cy.fixture('cypress/downloads/AspectDefault-open-api.yaml'));
131133
});
132134

@@ -143,7 +145,7 @@ describe('Test generation and download of open api specification', () => {
143145
.then(() => cy.get(GENERATION_tbBaseUrlInput).focus().clear().type('https://example.com').blur())
144146
.wait(7000)
145147
.then(() => cy.get(GENERATION_tbBaseUrlInputError).should('not.exist'))
146-
.then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force:true}).wait(5000))
148+
.then(() => cy.get(GENERATION_tbGenerateOpenApiButton).click({force: true}).wait(5000))
147149
.then(() => cy.fixture('cypress/downloads/AspectDefault-open-api.yaml'));
148150
});
149151

core/electron-libs/menu/edit-sub-menu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ function editSubmenu(translation) {
2626
{
2727
id: 'OPEN_SELECTED_ELEMENT',
2828
label: translation.OPEN_SELECTED_ELEMENT,
29-
enabled: false,
29+
enabled: true,
3030
icon: getIcon(icons.OPEN_SELECTED_ELEMENT.disabled),
3131
click: (menuItem, browserWindow, _) => browserWindow.webContents.send(SIGNAL_OPEN_SELECTED_ELEMENT),
3232
},
3333
{
3434
id: 'REMOVE_SELECTED_ELEMENT',
3535
label: translation.REMOVE_SELECTED_ELEMENT,
36-
enabled: false,
36+
enabled: true,
3737
icon: getIcon(icons.REMOVE_SELECTED_ELEMENT.disabled),
3838
click: (menuItem, browserWindow, _) => browserWindow.webContents.send(SIGNAL_REMOVE_SELECTED_ELEMENT),
3939
},
@@ -52,7 +52,7 @@ function editSubmenu(translation) {
5252
{
5353
id: 'CONNECT_ELEMENTS',
5454
label: translation.CONNECT_SELECTED_ELEMENTS,
55-
enabled: false,
55+
enabled: true,
5656
icon: getIcon(icons.CONNECT_ELEMENTS.disabled),
5757
click: (menuItem, browserWindow, _) => browserWindow.webContents.send(SIGNAL_CONNECT_ELEMENTS),
5858
},

core/libs/editor/src/lib/editor-toolbar/components/generate-open-api/generate-open-api.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ <h3>{{ 'GENERATE_OPENAPI_SPEC_DIALOG.GENERATING' | translate }}</h3>
195195
</mat-dialog-content>
196196

197197
<mat-dialog-actions align="end">
198-
<button mat-flat-button (click)="close()" data-cy="cancelOpenApiButton">{{ 'GENERATE_OPENAPI_SPEC_DIALOG.BUTTON.CANCEL' | translate }}</button>
198+
<button mat-flat-button (click)="close()" data-cy="cancelOpenApiButton">
199+
{{ 'GENERATE_OPENAPI_SPEC_DIALOG.BUTTON.CANCEL' | translate }}
200+
</button>
199201
<button
200202
(click)="generateOpenApiSpec()"
201203
type="button"

0 commit comments

Comments
 (0)