Skip to content

Commit

Permalink
Version to 0.3.10, bit of testing (#36)
Browse files Browse the repository at this point in the history
* Version to 0.3.10
  • Loading branch information
DavidLDawes authored and Asherda committed Jul 7, 2018
1 parent cf3ad24 commit 4600828
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"make-patch": "./make-patch.sh",
"make-rpm": "node make-rpm.js",
"make-deb": "node make-deb.js",
"test": "mocha"
"test": "mocha",
"package-mac": "electron-packager . agama --platform=darwin --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.icns --prune=true ---buildVersion=0.3.10-beta --out=build/ --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite",
"package-win": "electron-packager . agama --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.ico --out=build/ --buildVersion=0.3.10-beta --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite"
},
"repository": "https://github.com/VerusCoin/Agama/",
"homepage": "https://veruscoin.io/",
Expand Down
14 changes: 10 additions & 4 deletions test/spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ 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')
const chai = require('chai')
describe('Application launch', function () {
this.timeout(30000)

Expand Down Expand Up @@ -29,10 +30,15 @@ describe('Application launch', function () {
})
})

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)
})
it('has a native coin list that takes <Tab>', function () {
// Wait for the left button for native mode coins is visible
this.app.client.element('#react-select-3--value').waitForVisible(3000)
// Click on it and hit <Tab> to select the 1st - VerusCoin
return this.app.client.element('#react-select-3--value').click().keys("Tab")
})

it('removes the coin selector', function() {
return this.app.client.element('#react-select-3--value').waitForVisible(4000, true)
})
})

6 changes: 5 additions & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
0.3.10
version=0.3.10
type=beta
minversion=0.3.10



0 comments on commit 4600828

Please sign in to comment.