14
14
15
15
YAML
16
16
[Documentation] EXPECT FAIL Composer YAML files don't allow a "greetings" key
17
+ [Tags] expect:fail
17
18
Settings Should Change Editor Diagnostics YAML example.yaml yaml-language-server
18
19
... {"yaml.schemas": {"http://json.schemastore.org/composer": "*"}}
19
20
... duplicate key
@@ -28,15 +29,17 @@ Markdown
28
29
29
30
LaTeX
30
31
[Documentation] diagnostics only appear if configured
32
+ ${needs reload } = Set Variable "${OS } " == "Windows"
31
33
Settings Should Change Editor Diagnostics LaTeX example.tex texlab
32
34
... {"latex.lint.onChange": true}
33
35
... ${EMPTY }
34
36
... Command terminated with space. (chktex)
35
37
... Save File
38
+ ... ${needs reload }
36
39
37
40
*** Keywords ***
38
41
Settings Should Change Editor Diagnostics
39
- [Arguments] ${language } ${file } ${server } ${settings } ${before } ${after } ${save command } =${EMPTY }
42
+ [Arguments] ${language } ${file } ${server } ${settings } ${before } ${after } ${save command } =${EMPTY } ${ needs reload } = ${ False }
40
43
${before diagnostic } = Set Variable ${CSS DIAGNOSTIC } \[title^="${before } "]
41
44
${after diagnostic } = Set Variable ${CSS DIAGNOSTIC } \[title^="${after } "]
42
45
${tab } = Set Variable ${JLAB XP DOCK TAB } \[contains(., '${file } ')]
@@ -61,6 +64,8 @@ Settings Should Change Editor Diagnostics
61
64
Lab Command ${save command }
62
65
Ensure Sidebar Is Closed
63
66
Capture Page Screenshot 03-settings-changed.png
67
+ Run Keyword If ${needs reload } Reload Page
68
+ Open Diagnostics Panel
64
69
Wait Until Page Contains Element ${after diagnostic } timeout=30s
65
70
Capture Page Screenshot 04-configured-diagnostic-found.png
66
71
[Teardown] Clean Up After Working with File and Settings ${file }
0 commit comments