OSX: Added Option to hide Window from dock on close

This commit is contained in:
Martin Gondermann
2016-06-30 22:17:31 +02:00
parent 0f6688b4cf
commit 865b08105a
6 changed files with 49 additions and 7 deletions

View File

@@ -152,8 +152,8 @@ describe('browser/settings.html', function() {
});
describe('Minimize to tray', function() {
it('should appear win32', function() {
const expected = (process.platform === 'win32');
it('should appear on win32 and darwin', function() {
const expected = (process.platform === 'win32' || process.platform === 'darwin');
env.addClientCommands(this.app.client);
return this.app.client
.loadSettingsPage()
@@ -162,7 +162,7 @@ describe('browser/settings.html', function() {
});
describe('Toggle window visibility when clicking on the tray icon', function() {
it('should appear win32', function() {
it('should appear on win32', function() {
const expected = (process.platform === 'win32');
env.addClientCommands(this.app.client);
return this.app.client