smoketest: allow two minutes for setup

This commit is contained in:
isidor 2017-09-07 11:05:40 +02:00
parent 451b14c77f
commit c3e80fe565

View file

@ -77,12 +77,8 @@ process.env.SMOKETEST_REPO = testRepoLocalDir;
process.env.VSCODE_WORKSPACE_PATH = workspacePath;
process.env.VSCODE_KEYBINDINGS_PATH = keybindingsPath;
if (process.env.VSCODE_DEV === '1') {
process.env.VSCODE_EDITION = 'dev';
} else if ((testCodePath.indexOf('Code - Insiders') /* macOS/Windows */ || testCodePath.indexOf('code-insiders') /* Linux */) >= 0) {
if ((testCodePath.indexOf('Code - Insiders') /* macOS/Windows */ || testCodePath.indexOf('code-insiders') /* Linux */) >= 0) {
process.env.VSCODE_EDITION = 'insiders';
} else {
process.env.VSCODE_EDITION = 'stable';
}
function getKeybindingPlatform(): string {
@ -168,9 +164,12 @@ console.warn = function suppressWebdriverWarnings(message) {
warn.apply(console, arguments);
};
before(async () => main());
before(async function () {
// allow two minutes for setup
this.timeout(2 * 60 * 1000);
await main();
});
import './areas/workbench/data-migration.test';
import './areas/css/css.test';
import './areas/explorer/explorer.test';
import './areas/preferences/preferences.test';
@ -181,6 +180,4 @@ import './areas/workbench/data-loss.test';
import './areas/git/git.test';
import './areas/statusbar/statusbar.test';
import './areas/debug/debug.test';
import './areas/workbench/localization.test';
import './areas/terminal/terminal.test';
import './areas/editor/editor.test';
// import './areas/workbench/data-migration.test';