File tree Expand file tree Collapse file tree
extensions/vscode-notebook-tests/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,19 @@ suite('Notebook API tests', () => {
6969 // }
7070 // });
7171
72+ // test.only('crash', async function () {
73+ // for (let i = 0; i < 200; i++) {
74+ // let resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './first.vsctestnb'));
75+ // await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
76+ // await vscode.commands.executeCommand('workbench.action.files.save');
77+ // await vscode.commands.executeCommand('workbench.action.closeAllEditors');
78+ // resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './empty.vsctestnb'));
79+ // await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
80+ // await vscode.commands.executeCommand('workbench.action.files.save');
81+ // await vscode.commands.executeCommand('workbench.action.closeAllEditors');
82+ // }
83+ // });
84+
7285 test ( 'document open/close event' , async function ( ) {
7386 const resource = vscode . Uri . file ( join ( vscode . workspace . rootPath || '' , './first.vsctestnb' ) ) ;
7487 const firstDocumentOpen = getEventOncePromise ( vscode . notebook . onDidOpenNotebookDocument ) ;
You can’t perform that action at this time.
0 commit comments