Action bar (#49340)

This commit is contained in:
Christof Marti
2018-06-13 16:53:21 +02:00
parent 0afdd85577
commit f4b89e0b40
7 changed files with 192 additions and 92 deletions

View File

@@ -297,6 +297,15 @@ suite('window namespace tests', () => {
]);
});
test('showInputBox - value not empty on second try', async function () {
const one = window.showInputBox({ value: 'notempty' });
await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
assert.equal(await one, 'notempty');
const two = window.showInputBox({ value: 'notempty' });
await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
assert.equal(await two, 'notempty');
});
test('showQuickPick, accept first', async function () {
const pick = window.showQuickPick(['eins', 'zwei', 'drei']);