Skip to content

Commit 519a3b0

Browse files
committed
Try to increase tolerance of hover tests (wiggling mouse is difficult)
1 parent eec40ff commit 519a3b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

atest/05_Features/Hover.robot

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Update hover after character deletion
7474
Element Should Contain ${HOVER_BOX} atan2(y: SupportsFloat, x: SupportsFloat, /)
7575
Place Cursor In Cell Editor At 4 line=2 character=13
7676
Press Keys None DELETE
77+
Sleep 4
7778
Trigger Tooltip atan
7879
Element Text Should Be ${HOVER_SIGNAL} atan
7980
Capture Page Screenshot 02-hover-after-deletion.png
@@ -94,7 +95,7 @@ Trigger Via Hover With Modifier
9495
Mouse Over Token ${sel}
9596
# move it back and forth (wiggle) while holding the ctrl modifier
9697
Mouse Over Token With Control ${sel} x_wiggle=5
97-
Wait Until Keyword Succeeds 4x 0.1s Page Should Contain Element ${HOVER_BOX}
98+
Wait Until Keyword Succeeds 5x 0.1s Page Should Contain Element ${HOVER_BOX}
9899

99100
Trigger Via Modifier Key Press
100101
[Arguments] ${sel}
@@ -109,7 +110,7 @@ Trigger Tooltip
109110
[Documentation] The default way to trigger the hover tooltip
110111
[Arguments] ${symbol}
111112
${sel} = Set Variable lastToken:${symbol}
112-
Wait Until Keyword Succeeds 4x 0.1 s Trigger Via Hover With Modifier ${sel}
113+
Wait Until Keyword Succeeds 5x 0.1 s Trigger Via Hover With Modifier ${sel}
113114

114115
Setup Hover Test
115116
Setup Notebook Python Hover.ipynb

0 commit comments

Comments
 (0)