SYNC: try to fix test

This commit is contained in:
Jan Prochazka
2025-12-03 11:12:41 +01:00
committed by Diflow
parent f2e0b1cfa2
commit b4b52e12d5
3 changed files with 12 additions and 2 deletions

View File

@@ -166,6 +166,7 @@ export function getDatabasStatusMenu(dbid, driver = null) {
apiCall('database-connections/sync-model', dbid);
callSchemalListChanged();
},
testid: 'DatabasStatusMenu_refreshIncremental',
},
{
text: driver?.supportsIncrementalAnalysis
@@ -175,6 +176,7 @@ export function getDatabasStatusMenu(dbid, driver = null) {
apiCall('database-connections/sync-model', { ...dbid, isFullRefresh: true });
callSchemalListChanged();
},
testid: 'DatabasStatusMenu_refreshFull',
},
{
text: _t('command.database.reopenConnection', { defaultMessage: 'Reopen connection' }),
@@ -182,6 +184,7 @@ export function getDatabasStatusMenu(dbid, driver = null) {
apiCall('database-connections/refresh', dbid);
callSchemalListChanged();
},
testid: 'DatabasStatusMenu_reopenConnection',
},
{
text: _t('command.database.disconnect', { defaultMessage: 'Disconnect' }),
@@ -190,6 +193,7 @@ export function getDatabasStatusMenu(dbid, driver = null) {
if (electron) apiCall('database-connections/disconnect', dbid);
switchCurrentDatabase(null);
},
testid: 'DatabasStatusMenu_disconnect',
},
]);
}