Fix transaction details click

pull/17/head
ioedeveloper 4 years ago committed by Aniket
parent 5af67ec824
commit 41d976412a
  1. 2
      apps/remix-ide/src/app/panels/terminal.js
  2. 6
      apps/remix-ide/test-browser/commands/testFunction.js
  3. 1719
      package-lock.json

@ -753,6 +753,6 @@ function domTerminalFeatures (self, scopedCommands, blockchain) {
}
}
function blockify (el) { return yo`<div class="px-4 ${css.block}">${el}</div>` }
function blockify (el) { return yo`<div class="px-4 ${css.block}" data-id="block_${el.getAttribute ? el.getAttribute('id') : ''}">${el}</div>` }
module.exports = Terminal

@ -8,10 +8,8 @@ class TestFunction extends EventEmitter {
const setLog = (index, value) => { logs[Object.keys(logs)[index]] = typeof value === 'string' ? value.trim() : value }
browser
.waitForElementVisible(`*[data-id="terminalContainer"]`)
.click(`*[data-id="terminalContainer"]`)
.waitForElementVisible(`*[data-id="txLogger${txHash}"]`)
.click(`*[data-id="txLogger${txHash}"]`)
.waitForElementVisible(`[data-id="block_tx${txHash}"]`)
.click(`[data-id="block_tx${txHash}"]`)
.waitForElementVisible(`*[data-id="txLoggerTable${txHash}"]`)
// fetch and format transaction logs as key => pair object

1719
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save