diff --git a/CHANGELOG.md b/CHANGELOG.md index 128786d96..e85824304 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Builds: - FIXED: Selection rectangle remains visible after closing JSONB edit cell value form #1031 - FIXED: Diplaying numeric FK column with right alignement #1021 - ADDED: Additional arguments for MySQL and PostgreSQL backup #1092 +- CHANGED: Amazon and Azure instalations are not auto-upgraded by default ## 6.3.3 - CHANGED: New administration UI, redesigned administration of users, connections and roles diff --git a/e2e-tests/cypress/e2e/add-connection.cy.js b/e2e-tests/cypress/e2e/add-connection.cy.js index 06b9916f1..d8dad00f8 100644 --- a/e2e-tests/cypress/e2e/add-connection.cy.js +++ b/e2e-tests/cypress/e2e/add-connection.cy.js @@ -112,4 +112,11 @@ describe('Add connection', () => { cy.contains('performance_schema'); }); + + it('export connections', () => { + cy.testid('WidgetIconPanel_menu').click(); + cy.contains('Tools').click(); + cy.contains('Export connections').click(); + cy.themeshot('export-connections'); + }); }); diff --git a/packages/web/src/commands/stdCommands.ts b/packages/web/src/commands/stdCommands.ts index fbe314a26..85c97b632 100644 --- a/packages/web/src/commands/stdCommands.ts +++ b/packages/web/src/commands/stdCommands.ts @@ -535,7 +535,7 @@ registerCommand({ id: 'app.exportConnections', category: 'Settings', name: 'Export connections', - testEnabled: () => getElectron() != null, + testEnabled: () => !getCurrentConfig()?.runAsPortal && !getCurrentConfig()?.storageDatabase, onClick: () => { showModal(ExportImportConnectionsModal, { mode: 'export', @@ -547,7 +547,7 @@ registerCommand({ id: 'app.importConnections', category: 'Settings', name: 'Import connections', - testEnabled: () => getElectron() != null, + testEnabled: () => !getCurrentConfig()?.runAsPortal && !getCurrentConfig()?.storageDatabase, onClick: async () => { const files = await electron.showOpenDialog({ properties: ['showHiddenFiles', 'openFile'],