Skip to content

Commit 04ad1ac

Browse files
committed
Increase timeouts for flaky tests
1 parent 1fc7202 commit 04ad1ac

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

atest/05_Features/Completion.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Completer Should Suggest
212212

213213
Completer Should Include Icon
214214
[Arguments] ${icon}
215-
Wait Until Page Contains Element ${COMPLETER_BOX} svg[data-icon="${icon}"]
215+
Wait Until Page Contains Element ${COMPLETER_BOX} svg[data-icon="${icon}"] timeout=10s
216216

217217
Completer Should Not Suggest
218218
[Arguments] ${text}

atest/05_Features/Highlights.robot

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ Highlights are changed when moving cursor between cells
3737
Press Keys None DOWN # cursor to third cell, second line (`|test `)
3838
Should Highlight Token test
3939

40-
Highlights are added after typing
40+
Highlights are modified after typing
4141
Enter Cell Editor 1 line=2
42+
Press Keys None END # cursor after the token in second line (`test|`)
4243
Should Highlight Token test
43-
Press Keys None a
44+
Press Keys None a # cursor after the token in second line (`testa|`)
4445
Should Highlight Token testa
4546

4647
Highlights are removed when no cell is focused
@@ -61,12 +62,12 @@ Should Not Highlight Any Tokens
6162
Page Should Not Contain css:.cm-lsp-highlight
6263

6364
Should Highlight Token
64-
[Arguments] ${token} ${timeout}=10s
65+
[Arguments] ${token} ${timeout}=15s
6566
${token_element} Set Variable xpath://span[contains(@class, 'cm-lsp-highlight')][contains(text(), '${token}')]
6667
Wait Until Page Contains Element ${token_element} timeout=${timeout}
6768

6869
Should Not Highlight Token
69-
[Arguments] ${token} ${timeout}=10s
70+
[Arguments] ${token} ${timeout}=15s
7071
${token_element} Set Variable xpath://span[contains(@class, 'cm-lsp-highlight')][contains(text(), '${token}')]
7172
Wait Until Page Does Not Contain Element ${token_element} timeout=${timeout}
7273

0 commit comments

Comments
 (0)