mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
disable flaky test (#70887)
This commit is contained in:
@@ -380,13 +380,13 @@ suite('window namespace tests', () => {
|
||||
assert.equal(await two, 'notempty');
|
||||
});
|
||||
|
||||
|
||||
test('showQuickPick, accept first', async function () {
|
||||
const pick = window.showQuickPick(['eins', 'zwei', 'drei']);
|
||||
await new Promise(resolve => setTimeout(resolve, 10)); // Allow UI to update.
|
||||
await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
|
||||
assert.equal(await pick, 'eins');
|
||||
});
|
||||
// TODO@chrmarti Disabled due to flaky behaviour (https://github.com/Microsoft/vscode/issues/70887)
|
||||
// test('showQuickPick, accept first', async function () {
|
||||
// const pick = window.showQuickPick(['eins', 'zwei', 'drei']);
|
||||
// await new Promise(resolve => setTimeout(resolve, 10)); // Allow UI to update.
|
||||
// await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
|
||||
// assert.equal(await pick, 'eins');
|
||||
// });
|
||||
|
||||
test('showQuickPick, accept second', async function () {
|
||||
const resolves: ((value: string) => void)[] = [];
|
||||
|
||||
Reference in New Issue
Block a user