Re-enable skipped test

Fixes #119146
This commit is contained in:
Matt Bierner 2021-05-27 15:44:27 -07:00
parent 280e007073
commit 9eeb092206
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -1001,7 +1001,7 @@ suite('Notebook API tests', function () {
});
test.skip('multiple tabs: different editors with same document', async function () {
test('multiple tabs: different editors with same document', async function () {
const notebook = await openRandomNotebookDocument();
const firstNotebookEditor = await vscode.window.showNotebookDocument(notebook, { viewColumn: vscode.ViewColumn.One });
@ -1011,7 +1011,7 @@ suite('Notebook API tests', function () {
assert.strictEqual(getFocusedCell(vscode.window.activeNotebookEditor!)?.document.getText(), 'test');
assert.strictEqual(getFocusedCell(vscode.window.activeNotebookEditor!)?.document.languageId, 'typescript');
const secondNotebookEditor = await vscode.window.showNotebookDocument(notebook, { viewColumn: vscode.ViewColumn.Two });
const secondNotebookEditor = await vscode.window.showNotebookDocument(notebook, { viewColumn: vscode.ViewColumn.Beside });
assert.strictEqual(secondNotebookEditor !== undefined, true, 'notebook first');
assert.strictEqual(getFocusedCell(vscode.window.activeNotebookEditor!)?.document.getText(), 'test');
assert.strictEqual(getFocusedCell(vscode.window.activeNotebookEditor!)?.document.languageId, 'typescript');