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 @@ -905,6 +905,8 @@ suite('regression', () => {
905905 test ( '#102411 - untitled notebook creation failed' , async function ( ) {
906906 await vscode . commands . executeCommand ( 'workbench.action.files.newUntitledFile' , { viewType : 'notebookCoreTest' } ) ;
907907 assert . notEqual ( vscode . notebook . activeNotebookEditor , undefined , 'untitled notebook editor is not undefined' ) ;
908+
909+ await vscode . commands . executeCommand ( 'workbench.action.closeAllEditors' ) ;
908910 } ) ;
909911
910912 test ( '#102423 - copy/paste shares the same text buffer' , async function ( ) {
@@ -926,6 +928,8 @@ suite('regression', () => {
926928
927929 assert . equal ( vscode . notebook . activeNotebookEditor ! . document . cells . length , 2 ) ;
928930 assert . notEqual ( vscode . notebook . activeNotebookEditor ! . document . cells [ 0 ] . document . getText ( ) , vscode . notebook . activeNotebookEditor ! . document . cells [ 1 ] . document . getText ( ) ) ;
931+
932+ await vscode . commands . executeCommand ( 'workbench.action.closeAllEditors' ) ;
929933 } ) ;
930934} ) ;
931935
You can’t perform that action at this time.
0 commit comments