Skip to content

Commit b812666

Browse files
committed
Custom renderer message is still flaky
1 parent adae0e5 commit b812666

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

extensions/vscode-notebook-tests/src/notebook.test.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -769,26 +769,26 @@ suite('webview', () => {
769769

770770

771771
// 404 on web
772-
test('custom renderer message', async function () {
773-
if (vscode.env.uiKind === vscode.UIKind.Web) {
774-
return;
775-
}
772+
// test('custom renderer message', async function () {
773+
// if (vscode.env.uiKind === vscode.UIKind.Web) {
774+
// return;
775+
// }
776776

777-
const resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './customRenderer.vsctestnb'));
778-
await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
779-
780-
const editor = vscode.notebook.activeNotebookEditor;
781-
const promise = new Promise(resolve => {
782-
const messageEmitter = editor?.onDidReceiveMessage(e => {
783-
if (e.type === 'custom_renderer_initialize') {
784-
resolve();
785-
messageEmitter?.dispose();
786-
}
787-
});
788-
});
777+
// const resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './customRenderer.vsctestnb'));
778+
// await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
789779

790-
await vscode.commands.executeCommand('notebook.cell.execute');
791-
await promise;
792-
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
793-
});
780+
// const editor = vscode.notebook.activeNotebookEditor;
781+
// const promise = new Promise(resolve => {
782+
// const messageEmitter = editor?.onDidReceiveMessage(e => {
783+
// if (e.type === 'custom_renderer_initialize') {
784+
// resolve();
785+
// messageEmitter?.dispose();
786+
// }
787+
// });
788+
// });
789+
790+
// await vscode.commands.executeCommand('notebook.cell.execute');
791+
// await promise;
792+
// await vscode.commands.executeCommand('workbench.action.closeAllEditors');
793+
// });
794794
});

0 commit comments

Comments
 (0)