From 0daabfb25ca45d78024282f7974110f651a25546 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sun, 31 Dec 2023 14:23:37 +0100 Subject: [PATCH] backspace --- apps/remix-ide-e2e/src/commands/validateValueInput.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/commands/validateValueInput.ts b/apps/remix-ide-e2e/src/commands/validateValueInput.ts index d83c41f362..7a6dde8de6 100644 --- a/apps/remix-ide-e2e/src/commands/validateValueInput.ts +++ b/apps/remix-ide-e2e/src/commands/validateValueInput.ts @@ -7,9 +7,8 @@ class ValidateValueInput extends EventEmitter { browser.perform((done) => { browser .click(selector).saveScreenshot(`./reports/screenshots/validateValueInput_`+ expectedValue +`.png`) - .sendKeys(selector, browser.Keys.CONTROL + 'a').saveScreenshot(`./reports/screenshots/validateValueInput_1_`+ expectedValue +`.png`) - .sendKeys(selector, browser.Keys.DELETE).saveScreenshot(`./reports/screenshots/validateValueInput_2_`+ expectedValue +`.png`) - //.setValue(selector, valueTosSet).saveScreenshot(`./reports/screenshots/validateValueInput_4_`+ expectedValue +`.png`) + .sendKeys(selector, browser.Keys.BACK_SPACE + browser.Keys.BACK_SPACE + browser.Keys.BACK_SPACE).saveScreenshot(`./reports/screenshots/validateValueInput_1_`+ expectedValue +`.png`) + //.setValue(selector, valueTosSet).saveScreenshot(`./reports/screenshots/validateValueInput_4_`+ expectedValue +`.png`) .sendKeys(selector, valueTosSet).saveScreenshot(`./reports/screenshots/validateValueInput_4_`+ expectedValue +`.png`) .pause(500) .execute(function (selector) {