Skip to content

Commit be9a6cd

Browse files
Run VS Code tests under Xvfb
When tests are executed directly via VS Code TESTING panel. This allows remote users to execute graphical tests from VS Code without having to set the DISPLAY env variable. (no-issue-check)
1 parent 3509883 commit be9a6cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.vscode/settings.json.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,7 @@
125125
"--disable-extensions"
126126
],
127127
"preLaunchTask": "npm: watch - integration/vscode/ada"
128-
}
128+
},
129+
// Use Xvfb on Linux to run the extension tests in a virtual framebuffer
130+
"extension-test-runner.wrapper": ["xvfb-run", "-a"]
129131
}

0 commit comments

Comments
 (0)