Skip to content

Commit 12c9d93

Browse files
committed
try a hard reload for win/latex config
1 parent 2a68086 commit 12c9d93

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

atest/07_Configuration.robot

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Python
1414

1515
YAML
1616
[Documentation] EXPECT FAIL Composer YAML files don't allow a "greetings" key
17+
[Tags] expect:fail
1718
Settings Should Change Editor Diagnostics YAML example.yaml yaml-language-server
1819
... {"yaml.schemas": {"http://json.schemastore.org/composer": "*"}}
1920
... duplicate key
@@ -28,15 +29,17 @@ Markdown
2829

2930
LaTeX
3031
[Documentation] diagnostics only appear if configured
32+
${needs reload} = Set Variable "${OS}" == "Windows"
3133
Settings Should Change Editor Diagnostics LaTeX example.tex texlab
3234
... {"latex.lint.onChange": true}
3335
... ${EMPTY}
3436
... Command terminated with space. (chktex)
3537
... Save File
38+
... ${needs reload}
3639

3740
*** Keywords ***
3841
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}
4043
${before diagnostic} = Set Variable ${CSS DIAGNOSTIC}\[title^="${before}"]
4144
${after diagnostic} = Set Variable ${CSS DIAGNOSTIC}\[title^="${after}"]
4245
${tab} = Set Variable ${JLAB XP DOCK TAB}\[contains(., '${file}')]
@@ -61,6 +64,8 @@ Settings Should Change Editor Diagnostics
6164
Lab Command ${save command}
6265
Ensure Sidebar Is Closed
6366
Capture Page Screenshot 03-settings-changed.png
67+
Run Keyword If ${needs reload} Reload Page
68+
Open Diagnostics Panel
6469
Wait Until Page Contains Element ${after diagnostic} timeout=30s
6570
Capture Page Screenshot 04-configured-diagnostic-found.png
6671
[Teardown] Clean Up After Working with File and Settings ${file}

ci/job.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- script: ${{ platform.activate }} && jupyter labextension list
113113
displayName: list labextensions after build
114114

115-
- script: ${{ platform.activate }} && python scripts/atest.py
115+
- script: ${{ platform.activate }} && python scripts/atest.py --exclude expect:fail
116116
displayName: run browser tests
117117

118118
- task: PublishTestResults@2

0 commit comments

Comments
 (0)