From 13c6f97fc87713dc034dbd5ab4e15b218e638d5d Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 15 Oct 2020 13:14:02 +0100 Subject: [PATCH] Added e2e test --- apps/remix-ide-e2e/src/tests/debugger.test.ts | 4 ++-- apps/remix-ide/src/app/ui/TreeView.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/debugger.test.ts b/apps/remix-ide-e2e/src/tests/debugger.test.ts index b33dbd0ced..0d757689e7 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.test.ts +++ b/apps/remix-ide-e2e/src/tests/debugger.test.ts @@ -16,7 +16,7 @@ module.exports = { 'Should launch debugger': function (browser: NightwatchBrowser) { browser.addFile('blah.sol', sources[0]['browser/blah.sol']) .clickLaunchIcon('udapp') - .waitForElementPresent('*[title="Deploy - transact (not payable)"]') + .waitForElementPresent('*[title="Deploy - transact (not payable)"]', 50000) .click('*[title="Deploy - transact (not payable)"]') .debugTransaction(0) .assert.containsText('*[data-id="sidePanelSwapitTitle"]', 'DEBUGGER') @@ -42,7 +42,7 @@ module.exports = { .waitForElementVisible('*[data-id="slider"]') .click('*[data-id="slider"]') .setValue('*[data-id="slider"]', '50') - .pause(2000) + .pause(5000) .assert.containsText('*[data-id="solidityLocals"]', 'no locals') .assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92') }, diff --git a/apps/remix-ide/src/app/ui/TreeView.js b/apps/remix-ide/src/app/ui/TreeView.js index 913c44f555..59866a43c5 100644 --- a/apps/remix-ide/src/app/ui/TreeView.js +++ b/apps/remix-ide/src/app/ui/TreeView.js @@ -116,7 +116,7 @@ class TreeView { } li.appendChild(list) if (data.hasNext) { - list.appendChild(yo`
  • Load more
  • `) + list.appendChild(yo`
  • Load more
  • `) } } else { caret.style.visibility = 'hidden'