fix ballot e2e

pull/2904/head
Joseph Izang 2 years ago
parent f11362b68d
commit 95b7a4d54c
  1. 2
      apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts
  2. 2
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -23,7 +23,7 @@ function addInstance (browser: NightwatchBrowser, address: string, isValidFormat
else if (isAbi) {
browser
.click({
selector:'//button[@id="runAndDeployAtAdressButton"]',
selector: '//*[@id="runAndDeployAtAdressButtonContaner"]',
locateStrategy: 'xpath'
})
.waitForElementPresent('[data-id="udappNotify-modal-footer-ok-react"]', 5000)

@ -346,7 +346,7 @@ export function ContractDropdownUI(props: ContractDropdownProps) {
<span>{atAddressOptions.title}</span>
</Tooltip>
}>
<div onClick={loadFromAddress}>
<div id="runAndDeployAtAdressButtonContaner" onClick={loadFromAddress}>
<button className="udapp_atAddress btn btn-sm btn-info" id="runAndDeployAtAdressButton" disabled={atAddressOptions.disabled} style={{ pointerEvents: 'none' }} onClick={loadFromAddress} data-title={atAddressOptions.title}
>At Address</button>
</div>

Loading…
Cancel
Save