提交 053a32e2 编写于 作者: B Benjamin Pasero

tests updates

上级 e5f5bdec
......@@ -518,19 +518,20 @@ suite('window namespace tests', () => {
return Promise.all([a, b]);
});
test('showWorkspaceFolderPick', async function () {
const p = window.showWorkspaceFolderPick(undefined);
// TODO@chrmarti Disabled due to flaky behaviour (https://github.com/Microsoft/vscode/issues/70887)
// test('showWorkspaceFolderPick', async function () {
// const p = window.showWorkspaceFolderPick(undefined);
await timeout(10);
await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
try {
await p;
assert.ok(true);
}
catch (_error) {
assert.ok(false);
}
});
// await timeout(10);
// await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
// try {
// await p;
// assert.ok(true);
// }
// catch (_error) {
// assert.ok(false);
// }
// });
test('Default value for showInput Box not accepted when it fails validateInput, reversing #33691', async function () {
const result = window.showInputBox({
......
......@@ -1491,7 +1491,11 @@ suite('Disk File Service', () => {
setTimeout(() => mkdirSync(folder.fsPath), 50);
});
test.skip('watch - folder (non recursive) - delete folder', done => {
test('watch - folder (non recursive) - delete folder', done => {
if (isWindows) {
return done(); // not happy
}
const watchDir = URI.file(join(testDir, 'watch7'));
mkdirSync(watchDir.fsPath);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册