@@ -37,10 +37,11 @@ Highlights are changed when moving cursor between cells
37
37
Press Keys None DOWN # cursor to third cell, second line (`|test `)
38
38
Should Highlight Token test
39
39
40
- Highlights are added after typing
40
+ Highlights are modified after typing
41
41
Enter Cell Editor 1 line=2
42
+ Press Keys None END # cursor after the token in second line (`test|`)
42
43
Should Highlight Token test
43
- Press Keys None a
44
+ Press Keys None a # cursor after the token in second line (`testa|`)
44
45
Should Highlight Token testa
45
46
46
47
Highlights are removed when no cell is focused
@@ -61,12 +62,12 @@ Should Not Highlight Any Tokens
61
62
Page Should Not Contain css:.cm-lsp-highlight
62
63
63
64
Should Highlight Token
64
- [Arguments] ${token } ${timeout } =10s
65
+ [Arguments] ${token } ${timeout } =15s
65
66
${token_element } Set Variable xpath://span[contains(@class, 'cm-lsp-highlight')][contains(text(), '${token } ')]
66
67
Wait Until Page Contains Element ${token_element } timeout=${timeout }
67
68
68
69
Should Not Highlight Token
69
- [Arguments] ${token } ${timeout } =10s
70
+ [Arguments] ${token } ${timeout } =15s
70
71
${token_element } Set Variable xpath://span[contains(@class, 'cm-lsp-highlight')][contains(text(), '${token } ')]
71
72
Wait Until Page Does Not Contain Element ${token_element } timeout=${timeout }
72
73
0 commit comments