diff --git a/apps/remix-ide-e2e/src/tests/debugger.test.ts b/apps/remix-ide-e2e/src/tests/debugger.test.ts index 4b449ae30b..bffc0e6ef0 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.test.ts +++ b/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"]')