File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
compass-e2e-tests/helpers Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -636,8 +636,10 @@ async function startCompassElectron(
636636
637637 process . env . APP_ENV = 'webdriverio' ;
638638 // For webdriverio env we are changing appName so that keychain records do not
639- // overlap with anything else
640- process . env . HADRON_PRODUCT_NAME_OVERRIDE = 'MongoDB Compass WebdriverIO' ;
639+ // overlap with anything else. But leave it alone when testing auto-update.
640+ if ( ! process . env . HADRON_AUTO_UPDATE_ENDPOINT_OVERRIDE ) {
641+ process . env . HADRON_PRODUCT_NAME_OVERRIDE = 'MongoDB Compass WebdriverIO' ;
642+ }
641643
642644 // Guide cues might affect too many tests in a way where the auto showing of the cue prevents
643645 // clicks from working on elements. Dealing with this case-by-case is way too much work, so
Original file line number Diff line number Diff line change @@ -160,9 +160,7 @@ class CompassApplication {
160160
161161 await this . setupCORSBypass ( ) ;
162162 void this . setupCompassAuthService ( ) ;
163- // TODO(COMPASS-7618): For now don't setup auto-update in CI because the
164- // toasts will obscure other things which we don't expect yet.
165- if ( ! process . env . CI ) {
163+ if ( ! process . env . CI || process . env . HADRON_AUTO_UPDATE_ENDPOINT_OVERRIDE ) {
166164 this . setupAutoUpdate ( ) ;
167165 }
168166 await setupCSFLELibrary ( ) ;
You can’t perform that action at this time.
0 commit comments