|
|
|
@ -25,15 +25,13 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
'Should load run and deploy tab and check value validation': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.waitForElementPresent('*[data-id="sidePanelSwapitTitle"]') |
|
|
|
|
.assert.containsText('*[data-id="sidePanelSwapitTitle"]', 'DEPLOY & RUN TRANSACTIONS') |
|
|
|
|
.clearValue('#value') |
|
|
|
|
.setValue('#value', '0000') |
|
|
|
|
.assert.containsText('*[data-id="dandrValue"]', '0') |
|
|
|
|
.clearValue('#value') |
|
|
|
|
.setValue('#value', '-44') |
|
|
|
|
.assert.containsText('*[data-id="dandrValue"]', '44') |
|
|
|
|
.assert.containsText('*[data-id="dandrValue"]', '0') |
|
|
|
|
.clearValue('#value') |
|
|
|
|
.setValue('#value', '') |
|
|
|
|
.assert.containsText('*[data-id="dandrValue"]', '0') |
|
|
|
|