E2E omnibus fixes (#2249)
* Add environment variable for E2E test server * Fix auto updater test * Kill macOS processes after test as well * No dot * Just do it for all of them * Force focus of main window on tests * Fix a focus issue, try win.show() instead * Another windows hack * Oops can't spell Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
'use strict';
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const {SHOW_SETTINGS_WINDOW} = require('../../src/common/communication');
|
||||
|
||||
@@ -20,6 +21,7 @@ describe('Settings', function desc() {
|
||||
env.createTestUserDataDir();
|
||||
env.cleanTestConfig();
|
||||
fs.writeFileSync(env.configFilePath, JSON.stringify(config));
|
||||
fs.writeFileSync(env.appUpdatePath, '');
|
||||
await asyncSleep(1000);
|
||||
this.app = await env.getApp();
|
||||
});
|
||||
|
Reference in New Issue
Block a user