@@ -16,20 +16,13 @@ fs.mkdirSync(userDataDir, { recursive: true });
1616// Optional: use unpublished VSIXs from workflow (e.g. download-artifact to end-to-end/.vsix/).
1717// Set paths in workflow or leave unset to use marketplace extensions.
1818const vsixDir = path . resolve ( import . meta. dirname , '.vsix' ) ;
19- const servicesVsix = process . env . SERVICES_VSIX_PATH ?? ( fs . existsSync ( path . join ( vsixDir , 'salesforcedx-vscode-services.vsix' ) ) ? path . join ( vsixDir , 'salesforcedx-vscode-services.vsix' ) : null ) ;
2019const coreVsix = process . env . CORE_VSIX_PATH ?? ( fs . existsSync ( path . join ( vsixDir , 'salesforcedx-vscode-core.vsix' ) ) ? path . join ( vsixDir , 'salesforcedx-vscode-core.vsix' ) : null ) ;
21- const metadataVsix = process . env . METADATA_VSIX_PATH ?? ( fs . existsSync ( path . join ( vsixDir , 'salesforcedx-vscode-metadata.vsix' ) ) ? path . join ( vsixDir , 'salesforcedx-vscode-metadata.vsix' ) : null ) ;
22-
2320const installExtensions = [
24- servicesVsix ?? 'salesforce.salesforcedx-vscode-services' ,
2521 coreVsix ?? 'salesforce.salesforcedx-vscode-core' ,
26- metadataVsix ?? 'salesforce.salesforcedx-vscode-metadata'
2722] ;
2823
2924// Log source so CI logs show whether local VSIX or marketplace is used
3025console . log ( '[E2E] Core:' , coreVsix ? `local VSIX (${ coreVsix } )` : 'marketplace' ) ;
31- console . log ( '[E2E] Services:' , servicesVsix ? `local VSIX (${ servicesVsix } )` : 'marketplace' ) ;
32- console . log ( '[E2E] Metadata:' , metadataVsix ? `local VSIX (${ metadataVsix } )` : 'marketplace' ) ;
3326export default defineConfig ( {
3427 /**
3528 * A file or list of files in which to find tests. Non-absolute paths will
@@ -51,7 +44,7 @@ export default defineConfig({
5144
5245 /**
5346 * A list of vscode extensions to install prior to running the tests.
54- * Uses unpublished VSIXs from .vsix/ or env SERVICES_VSIX_PATH/ CORE_VSIX_PATH when present;
47+ * Uses unpublished VSIXs from .vsix/ or env CORE_VSIX_PATH when present;
5548 * otherwise installs from marketplace. List order: Services first, then Core.
5649 */
5750 installExtensions,
0 commit comments