smoke - improve runCommand and disable more tests

This commit is contained in:
Benjamin Pasero
2021-12-20 08:25:08 +01:00
parent 807bf598be
commit bb39ae82cf
5 changed files with 37 additions and 36 deletions

View File

@@ -44,7 +44,7 @@ suite('Notebook Editor', function () {
testDisposables.length = 0;
});
test('showNotebookDocment', async function () {
test.skip('showNotebookDocument', async function () { // TODO@rebornix https://github.com/microsoft/vscode/issues/139078
const notebookDocumentsFromOnDidOpen = new Set<vscode.NotebookDocument>();
const sub = vscode.workspace.onDidOpenNotebookDocument(e => {
@@ -86,7 +86,7 @@ suite('Notebook Editor', function () {
assert.strictEqual(editor.document.uri.toString(), resource.toString());
});
test('Active/Visible Editor', async function () {
test.skip('Active/Visible Editor', async function () { // TODO@rebornix https://github.com/microsoft/vscode/issues/139078
const firstEditorOpen = utils.asPromise(vscode.window.onDidChangeActiveNotebookEditor);
const resource = await utils.createRandomFile(undefined, undefined, '.nbdtest');
const firstEditor = await vscode.window.showNotebookDocument(resource);