Skip to content

Commit

Permalink
Lint robot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Jan 12, 2020
1 parent 7130b8a commit 8266290
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions atest/05_Features/Completion.robot
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ User Can Select Lowercase After Starting Uppercase
Setup Notebook Python Completion.ipynb
Enter Cell Editor 4 line=1
Trigger Completer
Completer Should Suggest time
Completer Should Suggest time
Press Keys None ENTER
Wait Until Keyword Succeeds 40x 0.5s Cell Editor Should Equal 4 from time import time
[Teardown] Clean Up After Working With File Completion.ipynb
Expand All @@ -65,7 +65,7 @@ Triggers Completer On Dot
Enter Cell Editor 2 line=1
Wait Until Fully Initialized
Press Keys None .
Wait Until Keyword Succeeds 10x 0.5s Cell Editor Should Equal 2 list.
Wait Until Keyword Succeeds 10x 0.5s Cell Editor Should Equal 2 list.
Wait Until Page Contains Element ${COMPLETER_BOX} timeout=35s
Completer Should Suggest append
[Teardown] Clean Up After Working With File Completion.ipynb
Expand Down
6 changes: 3 additions & 3 deletions atest/05_Features/Signature.robot
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Triggers Signature Help After A Keystroke
Wait Until Fully Initialized
Enter Cell Editor 1 line=6
Capture Page Screenshot 01-entered-cell.png
Press Keys None (
Press Keys None (
Capture Page Screenshot 02-signature-shown.png
Wait Until Keyword Succeeds 20x 0.5s Page Should Contain Element ${SIGNATURE_BOX}
Element Should Contain ${SIGNATURE_BOX} Important docstring of abc()
Wait Until Keyword Succeeds 20x 0.5s Page Should Contain Element ${SIGNATURE_BOX}
Element Should Contain ${SIGNATURE_BOX} Important docstring of abc()
[Teardown] Clean Up After Working With File Signature.ipynb
2 changes: 1 addition & 1 deletion atest/Keywords.robot
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Ensure All Kernels Are Shut Down
Enter Command Name Shut Down All Kernels
${els} = Get WebElements ${CMD PALETTE ITEM ACTIVE}
Run Keyword If ${els.__len__()} Click Element ${CMD PALETTE ITEM ACTIVE}
${accept} = Set Variable css:.jp-mod-accept.jp-mod-warn
${accept} = Set Variable css:.jp-mod-accept.jp-mod-warn
Run Keyword If ${els.__len__()} Wait Until Page Contains Element ${accept}
Run Keyword If ${els.__len__()} Click Element ${accept}

Expand Down

0 comments on commit 8266290

Please sign in to comment.