pull/5404/head
Joseph Izang 2 months ago
parent c41f5b271b
commit 80083bf255
  1. 1
      apps/remix-ide-e2e/src/commands/selectAccount.ts
  2. 16
      libs/remix-ui/run-tab/src/lib/components/account.tsx

@ -6,7 +6,6 @@ class SelectAccount extends EventEmitter {
if (account) { if (account) {
this.api this.api
.click(`*[data-id="runTabSelectAccount"]`) //open the dropdown .click(`*[data-id="runTabSelectAccount"]`) //open the dropdown
// .waitForElementVisible(`*[data-id="custom-dropdown-items"]`)
.waitForElementVisible(`*[data-id="${account}"]`) .waitForElementVisible(`*[data-id="${account}"]`)
.click(`*[data-id="${account}"]`) //close the dropdown .click(`*[data-id="${account}"]`) //close the dropdown
.perform(() => { .perform(() => {

@ -257,22 +257,6 @@ export function AccountUI(props: AccountProps) {
)) : <Dropdown.Item></Dropdown.Item>} )) : <Dropdown.Item></Dropdown.Item>}
</Dropdown.Menu> </Dropdown.Menu>
</Dropdown> </Dropdown>
{/* <select
id="txorigin"
data-id="runTabSelectAccount"
name="txorigin"
className="form-control udapp_select custom-select pr-4"
value={selectedAccount || ''}
onChange={(e) => {
props.setAccount(e.target.value)
}}
>
{accounts.map((value, index) => (
<option value={value} key={index}>
{loadedAccounts[value]}
</option>
))}
</select> */}
</div> </div>
</div> </div>
) )

Loading…
Cancel
Save