File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ import fs from 'fs' ;
12import { expect } from 'chai' ;
23import {
34 init ,
45 cleanup ,
56 Selectors ,
67 screenshotPathName ,
78} from '../helpers/compass' ;
9+ import { LOG_PATH } from '../helpers/test-runner-paths' ;
810
911describe ( 'Auto-update' , function ( ) {
1012 it ( 'auto-update from' , async function ( ) {
@@ -42,6 +44,14 @@ describe('Auto-update', function () {
4244 } finally {
4345 await browser . screenshot ( screenshotPathName ( 'auto-update-from' ) ) ;
4446 await cleanup ( compass ) ;
47+ if ( process . platform === 'darwin' ) {
48+ for ( const filename of [ 'ShipIt_stderr.log' , 'ShipIt_stderr.log' ] ) {
49+ fs . copyFileSync (
50+ `${ process . env . HOME } /Library/Caches/com.mongodb.compass.dev.ShipIt/${ filename } ` ,
51+ `${ LOG_PATH } /${ filename } `
52+ ) ;
53+ }
54+ }
4555 }
4656
4757 if ( process . env . AUTO_UPDATE_UPDATABLE === 'true' ) {
You can’t perform that action at this time.
0 commit comments