change click command

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

@ -26,10 +26,7 @@ function addInstance (browser: NightwatchBrowser, address: string, isValidFormat
selector: '//span[@data-id="runAndDeployAtAddressButton"]',
locateStrategy: 'xpath'
})
.click({
selector: '//button[@id="runAndDeployAtAdressButton"]',
locateStrategy: 'xpath'
})
.click('//button[@id="runAndDeployAtAdressButton"]')
.waitForElementPresent('[data-id="udappNotify-modal-footer-ok-react"]')
.execute(function () {
const modal = document.querySelector('[data-id="udappNotify-modal-footer-ok-react"]') as any

Loading…
Cancel
Save