Add test for toggle setting

This commit is contained in:
Martin Gondermann
2016-06-28 15:09:05 +02:00
parent 1f312e1f7f
commit 3daaabca65

View File

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