|
|
@ -132,7 +132,6 @@ module.exports = { |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from hardhat').before(60000) |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from hardhat').before(60000) |
|
|
|
|
|
|
|
|
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
.assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by hardhat') |
|
|
|
|
|
|
|
.selectContract('Lock') |
|
|
|
.selectContract('Lock') |
|
|
|
.createContract('1') |
|
|
|
.createContract('1') |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('Unlock time should be in the future').before(60000) |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('Unlock time should be in the future').before(60000) |
|
|
@ -144,7 +143,6 @@ module.exports = { |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from hardhat').before(60000) |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from hardhat').before(60000) |
|
|
|
|
|
|
|
|
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
.assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by hardhat') |
|
|
|
|
|
|
|
.selectContract('Lock') |
|
|
|
.selectContract('Lock') |
|
|
|
.createContract('1') |
|
|
|
.createContract('1') |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('Unlock time should be in the future').before(60000) |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('Unlock time should be in the future').before(60000) |
|
|
@ -160,7 +158,6 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
|
|
let contractAaddress |
|
|
|
let contractAaddress |
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
.assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by foundry') |
|
|
|
|
|
|
|
.selectContract('Counter') |
|
|
|
.selectContract('Counter') |
|
|
|
.createContract('') |
|
|
|
.createContract('') |
|
|
|
.getAddressAtPosition(0, (address) => { |
|
|
|
.getAddressAtPosition(0, (address) => { |
|
|
@ -185,7 +182,6 @@ module.exports = { |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from truffle').before(60000) |
|
|
|
.expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from truffle').before(60000) |
|
|
|
|
|
|
|
|
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
browser.clickLaunchIcon('udapp') |
|
|
|
.assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by truffle') |
|
|
|
|
|
|
|
.selectContract('Migrations') |
|
|
|
.selectContract('Migrations') |
|
|
|
.createContract('') |
|
|
|
.createContract('') |
|
|
|
.testFunction('last', |
|
|
|
.testFunction('last', |
|
|
|