@@ -11,7 +11,7 @@ ${DOCUMENTATION_PANEL} css:.jp-Completer-docpanel
11
11
${KERNEL_BUSY_INDICATOR } css:.jp-NotebookPanel-toolbar div[title="Kernel Busy"]
12
12
13
13
*** Test Cases ***
14
- Works With Kernel Is Idle
14
+ Works When Kernel Is Idle
15
15
[Documentation] The suggestions from kernel and LSP should get integrated.
16
16
Enter Cell Editor 1 line=2
17
17
Capture Page Screenshot 01-entered-cell.png
@@ -29,12 +29,12 @@ Works With Kernel Is Idle
29
29
Should Contain ${content } TabError
30
30
31
31
Uses LSP Completions When Kernel Resoponse Times Out
32
- Configure JupyterLab Plugin {"kernelResponseTimeout": 1, "waitForKernelIfBusy ": true} plugin id=${COMPLETION PLUGIN ID }
32
+ Configure JupyterLab Plugin {"kernelResponseTimeout": 1, "waitForBusyKernel ": true} plugin id=${COMPLETION PLUGIN ID }
33
33
Should Complete While Kernel Is Busy
34
34
35
35
Uses LSP Completions When Kernel Is Busy
36
36
[Documentation] When kernel is not available the best thing is to show some suggestions (LSP) rather than none.
37
- Configure JupyterLab Plugin {"kernelResponseTimeout": -1, "waitForKernelIfBusy ": false} plugin id=${COMPLETION PLUGIN ID }
37
+ Configure JupyterLab Plugin {"kernelResponseTimeout": -1, "waitForBusyKernel ": false} plugin id=${COMPLETION PLUGIN ID }
38
38
Should Complete While Kernel Is Busy
39
39
40
40
Works When Kernel Is Shut Down
@@ -309,18 +309,18 @@ Count Completer Hints
309
309
[Return] ${count }
310
310
311
311
Should Complete While Kernel Is Busy
312
- # Run the cell with sleep(10 )
312
+ # Run the cell with sleep(20 )
313
313
Enter Cell Editor 17
314
314
# for some reason the lab command selects another cell along the way...
315
315
# Lab Command Run Selected Cells And Don't Advance
316
316
Press Keys None CTRL+ENTER
317
317
# Confirm that the kernel is busy
318
- Wait Until Page Contains Element ${KERNEL_BUSY_INDICATOR } timeout=3s
318
+ Wait Until Page Contains Element ${KERNEL_BUSY_INDICATOR } timeout=5s
319
319
# Enter a cell with "t"
320
320
Enter Cell Editor 18
321
321
# Check if completion worked
322
322
Enter Cell Editor 1 line=2
323
- Trigger Completer timeout=3s
324
- Completer Should Suggest test timeout=3s
323
+ Trigger Completer timeout=10s
324
+ Completer Should Suggest test
325
325
# Confirm that the kernel indicator was busy all along
326
326
Page Should Contain Element ${KERNEL_BUSY_INDICATOR }
0 commit comments