mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Reenable notebook integration tests
This commit is contained in:
parent
1341ca3d7f
commit
6897670596
|
@ -7,7 +7,7 @@ import * as assert from 'assert';
|
||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
import * as utils from '../utils';
|
import * as utils from '../utils';
|
||||||
|
|
||||||
suite.skip('Notebook Editor', function () {
|
suite('Notebook Editor', function () {
|
||||||
|
|
||||||
const contentSerializer = new class implements vscode.NotebookSerializer {
|
const contentSerializer = new class implements vscode.NotebookSerializer {
|
||||||
deserializeNotebook() {
|
deserializeNotebook() {
|
||||||
|
@ -77,7 +77,8 @@ suite.skip('Notebook Editor', function () {
|
||||||
assert.strictEqual(editor2.viewColumn, vscode.ViewColumn.Two);
|
assert.strictEqual(editor2.viewColumn, vscode.ViewColumn.Two);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Opening a notebook should fire activeNotebook event changed only once', async function () {
|
// #138683
|
||||||
|
test.skip('Opening a notebook should fire activeNotebook event changed only once', async function () {
|
||||||
const openedEditor = utils.asPromise(vscode.window.onDidChangeActiveNotebookEditor);
|
const openedEditor = utils.asPromise(vscode.window.onDidChangeActiveNotebookEditor);
|
||||||
const resource = await utils.createRandomFile(undefined, undefined, '.nbdtest');
|
const resource = await utils.createRandomFile(undefined, undefined, '.nbdtest');
|
||||||
const editor = await vscode.window.showNotebookDocument(resource);
|
const editor = await vscode.window.showNotebookDocument(resource);
|
||||||
|
|
|
@ -136,7 +136,7 @@ const apiTestContentProvider: vscode.NotebookContentProvider = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
suite.skip('Notebook API tests', function () {
|
suite('Notebook API tests', function () {
|
||||||
|
|
||||||
const testDisposables: vscode.Disposable[] = [];
|
const testDisposables: vscode.Disposable[] = [];
|
||||||
const suiteDisposables: vscode.Disposable[] = [];
|
const suiteDisposables: vscode.Disposable[] = [];
|
||||||
|
@ -872,7 +872,7 @@ suite.skip('Notebook API tests', function () {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
suite.skip('statusbar', () => {
|
suite('statusbar', () => {
|
||||||
const emitter = new vscode.EventEmitter<vscode.NotebookCell>();
|
const emitter = new vscode.EventEmitter<vscode.NotebookCell>();
|
||||||
const onDidCallProvide = emitter.event;
|
const onDidCallProvide = emitter.event;
|
||||||
const suiteDisposables: vscode.Disposable[] = [];
|
const suiteDisposables: vscode.Disposable[] = [];
|
||||||
|
@ -910,7 +910,7 @@ suite.skip('statusbar', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
suite.skip('Notebook API tests (metadata)', function () {
|
suite('Notebook API tests (metadata)', function () {
|
||||||
const testDisposables: vscode.Disposable[] = [];
|
const testDisposables: vscode.Disposable[] = [];
|
||||||
const suiteDisposables: vscode.Disposable[] = [];
|
const suiteDisposables: vscode.Disposable[] = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue