From 2b6d5e1556dfd1f48ee3850a85c436407d60d1cc Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Fri, 30 Oct 2020 11:14:28 +0100 Subject: [PATCH] Scroll and click --- apps/remix-ide-e2e/src/tests/debugger.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/debugger.test.ts b/apps/remix-ide-e2e/src/tests/debugger.test.ts index 7a8cf034a0..7a31a5ec6e 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.test.ts +++ b/apps/remix-ide-e2e/src/tests/debugger.test.ts @@ -157,6 +157,10 @@ module.exports = { .waitForElementPresent('*[data-id="treeViewDivtreeViewLoadMore"]') .assert.containsText('*[data-id="solidityLocals"]', '9: 9 uint256') .notContainsText('*[data-id="solidityLocals"]', '10: 10 uint256') + .scrollAndClick('*[data-id="treeViewDivtreeViewLoadMore"]') + .pause(5000) + .assert.containsText('*[data-id="solidityLocals"]', '19: 19 uint256') + .notContainsText('*[data-id="solidityLocals"]', '20: 20 uint256') }, 'Should debug using generated sources': function (browser: NightwatchBrowser) {