Skip to content

Commit fcfee00

Browse files
committed
Improve some frequently failing tests
1 parent ec7081f commit fcfee00

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

atest/03_Notebook.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@ Code Overrides
6868
Setup Notebook Python ${file}
6969
${virtual_path} = Set Variable ${VIRTUALDOCS DIR}${/}Code overrides.ipynb
7070
Wait Until Created ${virtual_path}
71+
Wait Until Keyword Succeeds 10x 1s File Should Not Be Empty ${virtual_path}
7172
${document} = Get File ${virtual_path}
7273
Should Be Equal ${document} get_ipython().run_line_magic("ls", "")\n\n\nget_ipython().run_line_magic("pip", " freeze")\n

atest/05_Features/Highlights.robot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ Highlights are modified after typing
4545
Should Highlight Token testa
4646

4747
Highlights are removed when no cell is focused
48-
Enter Cell Editor 1 line=2
4948
# Remove when turned on
5049
Configure JupyterLab Plugin {"removeOnBlur": true} plugin id=${HIGHLIGHTS PLUGIN ID}
50+
Enter Cell Editor 1 line=2
5151
Should Highlight Token test
5252
Blur Cell Editor 1
5353
Should Not Highlight Any Tokens
5454
# Do not remove when turned off
5555
Configure JupyterLab Plugin {"removeOnBlur": false} plugin id=${HIGHLIGHTS PLUGIN ID}
56+
Enter Cell Editor 1 line=2
5657
Should Highlight Token test
5758
Blur Cell Editor 1
5859
Should Highlight Token test

atest/05_Features/Jump.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Python Jumps between Files
1616
Jump To Definition ${sel}
1717
Wait Until Page Contains ANOTHER_CONSTANT
1818
Capture Page Screenshot 10-jumped.png
19+
Clean Up After Working With File jump_b.py
1920

2021
Ctrl Click And Jumping Back Works
2122
[Setup] Prepare File for Editing Python editor jump.py

0 commit comments

Comments
 (0)