verifycontracts e2e tree fix

pull/1407/head
filip mertens 3 years ago
parent 7cd08b8e02
commit 396a82661a
  1. 3
      apps/remix-ide-e2e/src/commands/verifyContracts.ts
  2. 2
      libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx

@ -22,6 +22,9 @@ function verifyContracts (browser: NightwatchBrowser, compiledContractNames: str
if (opts.version) {
browser
.click('*[data-id="compilation-details"]')
.waitForElementVisible('*[data-id="remixui_treeviewitem_metadata"]')
.pause(2000)
.click('*[data-id="remixui_treeviewitem_metadata"]')
.waitForElementVisible('*[data-id="treeViewDivtreeViewItemcompiler"]')
.pause(2000)
.click('*[data-id="treeViewDivtreeViewItemcompiler"]')

@ -172,7 +172,7 @@ export const ContractSelection = (props: ContractSelectionProps) => {
<div className="remixui_log" key={index}>
<TreeViewItem
label={
<div className="remixui_key">{ propertyName } { copyDetails } { questionMark }</div>
<div data-id={`remixui_treeviewitem_${propertyName}`} className="remixui_key">{ propertyName } { copyDetails } { questionMark }</div>
}>
{ insertValue(contractProperties, propertyName) }
</TreeViewItem>

Loading…
Cancel
Save