mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Fix test failure (#11973)
* Fix test failure * Fix the right thing * move them around
This commit is contained in:
@@ -49,10 +49,10 @@ suite('Object Explorer integration suite', () => {
|
|||||||
let expectedActions: string[] = [];
|
let expectedActions: string[] = [];
|
||||||
// Generate Scripts and Properties come from the admin-tool-ext-win extension which is for Windows only, so the item won't show up on non-Win32 platforms
|
// Generate Scripts and Properties come from the admin-tool-ext-win extension which is for Windows only, so the item won't show up on non-Win32 platforms
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
expectedActions = ['Manage', 'New Query', 'New Notebook', 'Refresh', 'Backup', 'Restore', 'Data-tier Application wizard', 'Import New Database Project', 'Schema Compare', 'Import wizard', 'Generate Scripts...', 'Properties'];
|
expectedActions = ['Manage', 'New Query', 'New Notebook', 'Refresh', 'Backup', 'Restore', 'Create Project From Database', 'Data-tier Application wizard', 'Schema Compare', 'Import wizard', 'Generate Scripts...', 'Properties'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
expectedActions = ['Manage', 'New Query', 'New Notebook', 'Refresh', 'Backup', 'Restore', 'Data-tier Application wizard', 'Import New Database Project', 'Schema Compare', 'Import wizard'];
|
expectedActions = ['Manage', 'New Query', 'New Notebook', 'Refresh', 'Backup', 'Restore', 'Create Project From Database', 'Data-tier Application wizard', 'Schema Compare', 'Import wizard'];
|
||||||
}
|
}
|
||||||
await verifyDBContextMenu(server, DefaultConnectTimeoutInMs, expectedActions);
|
await verifyDBContextMenu(server, DefaultConnectTimeoutInMs, expectedActions);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user