Skip to content

Commit b4120a5

Browse files
Fix broken test
1 parent bb5d041 commit b4120a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/client-e2e/src/tests/notebooks/save-and-clear-output.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ export const SaveAndClearNotebook: RunnerFunction = async (init) => {
2525
*/
2626
const nb = await OpenNotebookInVSCode(file);
2727

28-
// save contents of notebook which should have outputs from `run-test-notebook.ts`
28+
// clear any existing outputs
29+
await vscode.commands.executeCommand(VSCODE_COMMANDS.NOTEBOOK_RUN_ALL);
30+
31+
// save contents of notebook
2932
await nb.save();
3033

3134
// clear any existing outputs

0 commit comments

Comments
 (0)