Make unread badge configurable

This commit is contained in:
Kolja Lampe
2016-07-15 13:04:14 +02:00
committed by Kolja Lampe
parent 6a99bdb72c
commit 51d828aa1a
6 changed files with 36 additions and 6 deletions

View File

@@ -180,5 +180,15 @@ describe('browser/settings.html', function() {
.isExisting('#notificationsRow').should.eventually.equal(expected)
});
});
describe('Show red icon for unread', function() {
it('should appear on darwin or win32', function() {
const expected = (process.platform === 'darwin' || process.platform === 'win32');
env.addClientCommands(this.app.client);
return this.app.client
.loadSettingsPage()
.isExisting('#inputShowUnreadBadge').should.eventually.equal(expected)
});
});
});
});