mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
tests updates
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user