From 43da29f996b2c7a58dadb5b9d67bfe169040725c Mon Sep 17 00:00:00 2001 From: LianaHus Date: Mon, 24 Jun 2019 10:32:39 +0200 Subject: [PATCH] At Address is initially disabled fix the test --- src/app/tabs/runTab/contractDropdown.js | 4 ++-- test-browser/commands/addAtAddressInstance.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/tabs/runTab/contractDropdown.js b/src/app/tabs/runTab/contractDropdown.js index 0b4dde64fe..3405f121d9 100644 --- a/src/app/tabs/runTab/contractDropdown.js +++ b/src/app/tabs/runTab/contractDropdown.js @@ -47,8 +47,8 @@ class ContractDropdownUI { this.compFails = yo`` var info = yo`` - this.atAddress = yo`` - this.atAddressButtonInput = yo`` + this.atAddress = yo`` + this.atAddressButtonInput = yo`` this.selectContractNames = yo`` this.createPanel = yo`
` diff --git a/test-browser/commands/addAtAddressInstance.js b/test-browser/commands/addAtAddressInstance.js index 31879a6601..a612c3f229 100644 --- a/test-browser/commands/addAtAddressInstance.js +++ b/test-browser/commands/addAtAddressInstance.js @@ -14,7 +14,7 @@ class addAtAddressInstance extends EventEmitter { function addInstance (browser, address, isValidFormat, isValidChecksum, callback) { browser.clickLaunchIcon('run').clearValue('.ataddressinput').setValue('.ataddressinput', address, function () { - browser.click('div[class^="atAddress"]') + browser.click('button[id^="runAndDeployAtAdressButton"]') .execute(function () { var ret = document.querySelector('div[class^="modal-body"] div').innerHTML document.querySelector('#modal-footer-ok').click()