|
|
@ -101,6 +101,7 @@ module.exports = { |
|
|
|
'Should autcomplete address types #group1': function (browser: NightwatchBrowser) { |
|
|
|
'Should autcomplete address types #group1': function (browser: NightwatchBrowser) { |
|
|
|
browser |
|
|
|
browser |
|
|
|
.perform(function () { |
|
|
|
.perform(function () { |
|
|
|
|
|
|
|
console.log({ autoCompleteLineElement }) |
|
|
|
const actions = this.actions({ async: true }); |
|
|
|
const actions = this.actions({ async: true }); |
|
|
|
return actions. |
|
|
|
return actions. |
|
|
|
sendKeys('addre') |
|
|
|
sendKeys('addre') |
|
|
@ -118,6 +119,7 @@ module.exports = { |
|
|
|
return actions. |
|
|
|
return actions. |
|
|
|
sendKeys('someaddress.') |
|
|
|
sendKeys('someaddress.') |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
.pause(120000) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('balance')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('balance')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('send')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('send')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('transfer')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('transfer')) |
|
|
@ -216,7 +218,7 @@ module.exports = { |
|
|
|
.waitForElementVisible(autoCompleteLineElement('importedbook')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('importedbook')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('importpublicstring')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('importpublicstring')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('publicimport')) |
|
|
|
.waitForElementVisible(autoCompleteLineElement('publicimport')) |
|
|
|
// no private
|
|
|
|
// no private
|
|
|
|
.waitForElementNotPresent(autoCompleteLineElement('importprivatestring')) |
|
|
|
.waitForElementNotPresent(autoCompleteLineElement('importprivatestring')) |
|
|
|
.waitForElementNotPresent(autoCompleteLineElement('privateimport')) |
|
|
|
.waitForElementNotPresent(autoCompleteLineElement('privateimport')) |
|
|
|
// no internal
|
|
|
|
// no internal
|
|
|
@ -523,4 +525,4 @@ module.exports = { |
|
|
|
.sendKeys(this.Keys.ENTER) |
|
|
|
.sendKeys(this.Keys.ENTER) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|