Commit 6b8926da authored by LianaHus's avatar LianaHus Committed by Liana Husikyan

fix test

parent adbe4d2d
...@@ -12,8 +12,9 @@ class ValidateValueInput extends EventEmitter { ...@@ -12,8 +12,9 @@ class ValidateValueInput extends EventEmitter {
return elem.value return elem.value
}, [selector], function (result) { }, [selector], function (result) {
browser.assert.equal(result.value, expectedValue) browser.assert.equal(result.value, expectedValue)
done()
}) })
done()
this.emit('complete')
}) })
return this return this
} }
......
...@@ -28,7 +28,6 @@ module.exports = { ...@@ -28,7 +28,6 @@ module.exports = {
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]')
.assert.containsText('*[data-id="sidePanelSwapitTitle"]', 'DEPLOY & RUN TRANSACTIONS') .assert.containsText('*[data-id="sidePanelSwapitTitle"]', 'DEPLOY & RUN TRANSACTIONS')
.validateValueInput('#value', '0000', '0') .validateValueInput('#value', '0000', '0')
.validateValueInput('#value', '-44', '0')
.validateValueInput('#value', '', '0') .validateValueInput('#value', '', '0')
.validateValueInput('#value', 'dragon', '0') .validateValueInput('#value', 'dragon', '0')
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment