forked from miketout/Agama
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Version to v0.3.7-beta * Version to 0.3.8-beta. * Get Asher's changes over for debian packaging. * fixing zip command * Add some helper scripts to package.json for electron packaging. * Catch version changes up * Test dependencies and a little dependency cleanup. * Synching up on version 0.3.9 * Catch README up too.
- Loading branch information
1 parent
c247175
commit 5b0c606
Showing
5 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
const Application = require('spectron').Application | ||
const assert = require('assert') | ||
const electronPath = require('electron') // Require Electron from the binaries included in node_modules. | ||
const path = require('path') | ||
describe('Application launch', function () { | ||
this.timeout(30000) | ||
|
||
before(function () { | ||
this.app = new Application({ | ||
path: electronPath, | ||
// The following line tells spectron to look and use the main.js file | ||
// and the package.json located 1 level above. | ||
args: [path.join(__dirname, '..')] | ||
}) | ||
return this.app.start() | ||
}) | ||
|
||
after(function () { | ||
if (this.app && this.app.isRunning()) { | ||
return this.app.stop() | ||
} | ||
}) | ||
|
||
it('shows an initial window', function () { | ||
return this.app.client.getWindowCount().then(function (count) { | ||
assert.equal(count, 1) | ||
// Please note that getWindowCount() will return 2 if `dev tools` are opened. | ||
// assert.equal(count, 2) | ||
}) | ||
}) | ||
|
||
it('supports VerusCoin selection', function () { | ||
this.app.client.getText("document.getElementsByClassName('Select-arrow')[1]").then(function (result) { | ||
console.log('The Select-arrow selection returns ' + result) | ||
}) | ||
}) | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version=0.3.8 | ||
version=0.3.9 | ||
type=beta | ||
minversion=0.3.8 | ||
minversion=0.3.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.8-beta | ||
0.3.9-beta |