diff --git a/.env.example b/.env.example index 7b19334..c23e26e 100644 --- a/.env.example +++ b/.env.example @@ -7,8 +7,12 @@ # For git password please use your generated git token, not a clear text password VSCODE_EXECUTABLE_PATH='/usr/share/code/code' -VSIX_FILE_PATH="/home/sshveta/Work/kai-ci/" +VSIX_FILE_PATH='/home/sshveta/Work/kai-ci/' VSIX_FILE_NAME='konveyor-linux-0.0.1.vsix' VSIX_DOWNLOAD_URL= 'https://github.com/konveyor/editor-extensions/releases/download/v0.0.1-dev%2B20241017/konveyor-linux-0.0.1.vsix' PLUGIN_URL= 'https://github.com/konveyor/editor-extensions/releases/download/' PLUGIN_VERSION= 'v0.0.1-dev%2B' + +# For Windows Path needs to be given in below format +VSCODE_EXECUTABLE_PATH='C:/Users/nonadmin/AppData/Local/Programs/Microsoft VS Code/Code.exe' +VSIX_FILE_PATH='C:/Users/nonadmin/kai-ci/' diff --git a/e2e/pages/vscode.pages.ts b/e2e/pages/vscode.pages.ts index 2773d0b..fda2af6 100644 --- a/e2e/pages/vscode.pages.ts +++ b/e2e/pages/vscode.pages.ts @@ -55,7 +55,7 @@ class VSCode { try { // Execute command to install VSIX file using VSCode CLI console.log(`Installing extension from ${vsixFilePath}...`); - execSync(`code --install-extension '${vsixFilePath}'`, { + execSync(`code --install-extension "${vsixFilePath}"`, { stdio: 'inherit', }); console.log('Extension installed successfully.');