Merge pull request #934 from ethereum/removeTests

Remove tests
pull/3094/head
yann300 7 years ago committed by GitHub
commit fe2dbce1a5
  1. 16
      test-browser/tests/debugger.js
  2. 39
      test-browser/tests/fileExplorer.js
  3. 18
      test-browser/tests/smoke-test.js

@ -1,16 +0,0 @@
'use strict'
var init = require('../helpers/init')
var sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done)
},
'Debugger Render': function (browser) {
browser
.waitForElementPresent('#debugger', 10000)
.waitForElementPresent('#debugger #slider', 10000)
.end()
},
tearDown: sauce
}

@ -1,39 +0,0 @@
'use strict'
var examples = require('../../src/app/editor/example-contracts')
var init = require('../helpers/init')
var sauce = require('./sauce')
var sources = [
{'browser/ballot.sol': examples.ballot.content,
'browser/test/client/credit.sol': '',
'browser/src/voting.sol': '',
'browser/src/leasing.sol': '',
'browser/src/gmbh/contract.sol': false,
'browser/src/gmbh/test.sol': false,
'browser/src/gmbh/company.sol': false,
'browser/src/gmbh/node_modules/ballot.sol': false,
'browser/src/ug/finance.sol': false,
'browser/app/solidity/mode.sol': true,
'browser/app/ethereum/constitution.sol': true
}
]
module.exports = {
before: function (browser, done) {
init(browser, done)
},
'@sources': function () {
return sources
},
'FileExplorer': function (browser) {
runTests(browser)
},
tearDown: sauce
}
function runTests (browser, testData) {
browser
.waitForElementPresent('#filepanel ul li', 10000, true, function () {})
.end()
}

@ -1,18 +0,0 @@
'use strict'
var init = require('../helpers/init')
var sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
browser
init(browser, done)
},
'Smoke test': function (browser) {
browser
.waitForElementVisible('#righthand-panel', 10000)
.click('.settingsView')
.assert.containsText('#righthand-panel', 'Solidity version')
.end()
},
tearDown: sauce
}
Loading…
Cancel
Save