File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Resource ../Keywords.robot
7
7
8
8
*** Variables ***
9
9
${COMPLETER_BOX } css:.jp-Completer.jp-HoverBox
10
+ ${DOCUMENTATION_PANEL } css:.jp-Completer-docpanel
10
11
11
12
*** Test Cases ***
12
13
Works With Kernel Running
@@ -227,6 +228,15 @@ Completes Large Namespaces
227
228
Completer Should Suggest abs timeout=30s
228
229
[Teardown] Clean Up After Working With File completion.R
229
230
231
+ Shows Documentation With CompletionItem Resolve
232
+ [Setup] Prepare File for Editing R completion completion.R
233
+ Place Cursor In File Editor At 8 12
234
+ Wait Until Fully Initialized
235
+ Trigger Completer
236
+ Completer Should Suggest print.default
237
+ Completer Should Include Documentation the default method of the
238
+ [Teardown] Clean Up After Working With File completion.R
239
+
230
240
*** Keywords ***
231
241
Setup Completion Test
232
242
Setup Notebook Python Completion.ipynb
@@ -275,3 +285,8 @@ Trigger Completer
275
285
[Arguments] ${timeout } =35s
276
286
Press Keys None TAB
277
287
Wait Until Page Contains Element ${COMPLETER_BOX } timeout=${timeout }
288
+
289
+ Completer Should Include Documentation
290
+ [Arguments] ${text }
291
+ Wait Until Page Contains Element ${DOCUMENTATION_PANEL } timeout=10s
292
+ Element Should Contain ${DOCUMENTATION_PANEL } ${text }
Original file line number Diff line number Diff line change 4
4
datasets :::
5
5
# `base:::<tab>` → works
6
6
base :::
7
+ # `print.defaul<tab>` → shows documentation for `print.default`
8
+ print.defaul
You can’t perform that action at this time.
0 commit comments