diff --git a/apps/remix-ide-e2e/src/commands/validateValueInput.ts b/apps/remix-ide-e2e/src/commands/validateValueInput.ts index 640ead9f7a..9fcede400b 100644 --- a/apps/remix-ide-e2e/src/commands/validateValueInput.ts +++ b/apps/remix-ide-e2e/src/commands/validateValueInput.ts @@ -12,8 +12,9 @@ class ValidateValueInput extends EventEmitter { return elem.value }, [selector], function (result) { browser.assert.equal(result.value, expectedValue) - done() }) + done() + this.emit('complete') }) return this } diff --git a/apps/remix-ide-e2e/src/tests/runAndDeploy.ts b/apps/remix-ide-e2e/src/tests/runAndDeploy.ts index 444ab314a0..b7566b3a06 100644 --- a/apps/remix-ide-e2e/src/tests/runAndDeploy.ts +++ b/apps/remix-ide-e2e/src/tests/runAndDeploy.ts @@ -28,7 +28,6 @@ module.exports = { browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') .assert.containsText('*[data-id="sidePanelSwapitTitle"]', 'DEPLOY & RUN TRANSACTIONS') .validateValueInput('#value', '0000', '0') - .validateValueInput('#value', '-44', '0') .validateValueInput('#value', '', '0') .validateValueInput('#value', 'dragon', '0') },