[MM-22102] upgrade to electron 7 (#1268)
* fix errors * upgrade to electron 7 * getsavepath is deprecated * fix typo * disable messaging from 'null' * replace getname to its property * deprecated zoomlevel * deprecated setbadgecount * isdarkmode deprecated * it's a property, not a function * fix error message * fix test * fix test on linux
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = {
|
||||
// enable this if chromedriver hangs to see logs
|
||||
// chromeDriverLogPath: '../chromedriverlog.txt',
|
||||
};
|
||||
if (process.platform === 'darwin') {
|
||||
if (process.platform === 'darwin' || process.platform === 'linux') {
|
||||
// on a mac, debbuging port might conflict with other apps
|
||||
// this changes the default debugging port so chromedriver can run without issues.
|
||||
options.chromeDriverArgs.push('remote-debugging-port=9222');
|
||||
|
@@ -78,6 +78,7 @@ describe('browser/settings.html', function desc() {
|
||||
click('#addNewServer').
|
||||
waitForVisible('#newServerModal').
|
||||
setValue('#teamNameInput', 'TestTeam').
|
||||
pause(100).
|
||||
setValue('#teamUrlInput', 'http://example.org').
|
||||
click('#saveNewServerModal').
|
||||
waitForVisible('#newServerModal', true).
|
||||
|
Reference in New Issue
Block a user