more e2e changes

pull/5370/head
Joseph Izang 2 years ago
parent 468db78a65
commit 87bc37c5c7
  1. 6
      apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts

@ -21,11 +21,7 @@ function addInstance (browser: NightwatchBrowser, address: string, isValidFormat
.setValue('.ataddressinput', address, function () {
if (!isValidFormat || !isValidChecksum) browser.assert.elementPresent('button[id^="runAndDeployAtAdressButton"]:disabled')
else if (isAbi) {
browser
.isVisible({
selector: '//span[@data-id="runAndDeployAtAddressButton"]',
locateStrategy: 'xpath'
})
browser.useXpath()
.click('//button[@id="runAndDeployAtAdressButton"]')
.waitForElementPresent('[data-id="udappNotify-modal-footer-ok-react"]')
.execute(function () {

Loading…
Cancel
Save