mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
smoketest: allow two minutes for setup
This commit is contained in:
parent
451b14c77f
commit
c3e80fe565
|
@ -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';
|
Loading…
Reference in a new issue