debugger locals array e2e test fixed

pull/891/head
aniket-engg 4 years ago
parent f5abff562a
commit 89ac4fe9b1
  1. 5
      apps/remix-ide-e2e/src/tests/debugger.test.ts

@ -154,8 +154,9 @@ module.exports = {
.pause(2000)
.debugTransaction(6)
.waitForElementVisible('*[data-id="slider"]')
.click('*[data-id="slider"]')
.setValue('*[data-id="slider"]', '5000')
// .setValue('*[data-id="slider"]', '5000') // Like this, setValue doesn't work properly for input type = range
.execute(function(){ document.getElementById('slider')['value'] = "7450";}) // It only moves slider to 7450 but vm traces are not updated
.setValue('*[data-id="slider"]', new Array(3).fill(browser.Keys.RIGHT_ARROW)) // This will press NEXT 3 times and will update the trace details
.waitForElementPresent('*[data-id="treeViewDivtreeViewItemarray"]')
.click('*[data-id="treeViewDivtreeViewItemarray"]')
.waitForElementPresent('*[data-id="treeViewDivtreeViewLoadMore"]')

Loading…
Cancel
Save