Skip to content

Commit 2d6c138

Browse files
Update test
1 parent aaa057d commit 2d6c138

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

apps/client-e2e/src/tests/notebooks/notebooks-replace-cell-paths-on-stop.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { OpenNotebookInVSCode } from '@idl/vscode/shared';
55
import expect from 'expect';
66
import * as vscode from 'vscode';
77

8+
import { CLIENT_E2E_CONFIG } from '../client-e2e-config.interface';
89
import { RunnerFunction } from '../runner.interface';
910
import { CompareNotebookJSONOutputs } from './helpers/compare-notebook-json-outputs';
1011

@@ -24,14 +25,17 @@ export const NotebooksReplaceCellPathsOnStop: RunnerFunction = async (init) => {
2425
const nb = await OpenNotebookInVSCode(nbUri, true);
2526

2627
// short pause to parse
27-
await Sleep(500);
28+
await Sleep(CLIENT_E2E_CONFIG.DELAYS.DEFAULT);
2829

2930
// run all cells
3031
await vscode.commands.executeCommand(VSCODE_COMMANDS.NOTEBOOK_RUN_ALL);
3132

3233
// save to disk
3334
await nb.save();
3435

36+
// wait
37+
await Sleep(CLIENT_E2E_CONFIG.DELAYS.PROBLEMS_NOTEBOOK);
38+
3539
// compare outputs
3640
await CompareNotebookJSONOutputs(expectedUri, nbUri);
3741

0 commit comments

Comments
 (0)