Electron-88 Spectron test for electron clipboard feature

This commit is contained in:
Kiran Niranjan 2017-07-04 09:57:18 +05:30 committed by Kiran Niranjan
parent ee5326808c
commit 2050d00605

View File

@ -46,7 +46,7 @@ describe('Tests for clipboard', () => {
}); });
}); });
it('should verify electron clipboard', (done) => { it('should verify electron clipboard copy', (done) => {
app.electron.clipboard.writeText('Testing copy') app.electron.clipboard.writeText('Testing copy')
.electron.clipboard.readText().then(function (clipboardText) { .electron.clipboard.readText().then(function (clipboardText) {
app.client app.client