Test fixes based on recent changes (#5570)

* Test fixes based on recent changes and allowing toolbar to stay at top

* removing scroll changes to be in seperate PR
This commit is contained in:
udeeshagautam
2019-05-21 19:56:44 -07:00
committed by GitHub
parent ab3a64604a
commit 48a6157efb
6 changed files with 21 additions and 12 deletions

View File

@@ -72,7 +72,13 @@ if (context.RunTest) {
test('Stand alone database context menu test', async function () {
let server = await getStandaloneServer();
let expectedActions = ['Manage', 'New Query', 'Backup', 'Restore', 'Refresh', 'Data-tier Application wizard', 'Schema Compare', 'Import wizard', 'Generate Scripts...', 'Properties'];
let expectedActions: string[] = [];
if (process.platform === 'win32') {
expectedActions = ['Manage', 'New Query', 'Backup', 'Restore', 'Refresh', 'Data-tier Application wizard', 'Schema Compare', 'Import wizard', 'Generate Scripts...', 'Properties'];
}
else {
expectedActions = ['Manage', 'New Query', 'Backup', 'Restore', 'Refresh', 'Data-tier Application wizard', 'Schema Compare', 'Import wizard'];
}
await VerifyDBContextMenu(server, 3000, expectedActions);
});
});