Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test-web-integration.sh')
-rwxr-xr-xscripts/test-web-integration.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/test-web-integration.sh b/scripts/test-web-integration.sh
index 3c96fafe751..2a692e2d518 100755
--- a/scripts/test-web-integration.sh
+++ b/scripts/test-web-integration.sh
@@ -27,6 +27,11 @@ else
compile-extension-media
fi
+if [ ! -e 'test/integration/browser/out/index.js' ];then
+ yarn --cwd test/integration/browser compile
+ yarn playwright-install
+fi
+
# Tests in the extension host
node test/integration/browser/out/index.js --workspacePath $ROOT/extensions/vscode-api-tests/testWorkspace --enable-proposed-api=vscode.vscode-api-tests --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/singlefolder-tests "$@"
node test/integration/browser/out/index.js --workspacePath $ROOT/extensions/vscode-api-tests/testworkspace.code-workspace --enable-proposed-api=vscode.vscode-api-tests --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/workspace-tests "$@"