Readded the Option to hide the window on close for OSX

This commit is contained in:
Martin Gondermann
2016-07-03 16:12:04 +02:00
parent f35393d73e
commit 2b4ee5f0bc
5 changed files with 39 additions and 4 deletions

View File

@@ -151,6 +151,16 @@ describe('browser/settings.html', function() {
});
});
describe('Minimize to tray', function() {
it('should appear on darwin', function() {
const expected = (process.platform === 'darwin');
env.addClientCommands(this.app.client);
return this.app.client
.loadSettingsPage()
.isExisting('#inputMinimizeToTray').should.eventually.equal(expected)
});
});
describe('Toggle window visibility when clicking on the tray icon', function() {
it('should appear on win32', function() {
const expected = (process.platform === 'win32');