File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
packages/compass-e2e-tests Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -480,8 +480,7 @@ tasks:
480480 - func : prepare
481481 - func : install
482482 - func : bootstrap
483- vars :
484- scope : ' compass-e2e-tests'
483+ - func : spawn-signing-server
485484 - func : smoketest-packaged-app
486485 vars :
487486 mongodb_version : latest-enterprise
Original file line number Diff line number Diff line change @@ -504,8 +504,7 @@ tasks:
504504 - func : prepare
505505 - func : install
506506 - func : bootstrap
507- vars :
508- scope : compass-e2e-tests
507+ - func : spawn-signing-server
509508 - func : smoketest-packaged-app
510509 vars :
511510 mongodb_version : latest-enterprise
Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ async function run() {
168168
169169 verifyPackagesExist ( packages ) ;
170170
171+ await buildMockedCompass ( ) ;
172+
171173 // TODO(COMPASS-8533): extract or install each package and then test the Compass binary
172174 for ( const pkg of packages ) {
173175 let appInfo : InstalledAppInfo | undefined = undefined ;
@@ -365,6 +367,16 @@ function verifyPackagesExist(packages: Package[]): void {
365367 }
366368}
367369
370+ function buildMockedCompass ( ) : Promise < void > {
371+ return execute ( 'npm' , [
372+ 'run' ,
373+ '--unsafe-perm' ,
374+ 'package-compass' ,
375+ '--workspace' ,
376+ '@mongodb-js/mocked-compass' ,
377+ ] ) ;
378+ }
379+
368380function testInstalledApp ( appInfo : InstalledAppInfo ) : Promise < void > {
369381 return execute (
370382 'npm' ,
You can’t perform that action at this time.
0 commit comments