From 67d4ae2d538f737f2646534606b8fbc3cd6993e2 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sun, 31 Dec 2023 14:21:29 +0100 Subject: [PATCH] ctr+a --- apps/remix-ide-e2e/src/commands/validateValueInput.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/commands/validateValueInput.ts b/apps/remix-ide-e2e/src/commands/validateValueInput.ts index f68ee1e675..d83c41f362 100644 --- a/apps/remix-ide-e2e/src/commands/validateValueInput.ts +++ b/apps/remix-ide-e2e/src/commands/validateValueInput.ts @@ -7,8 +7,8 @@ class ValidateValueInput extends EventEmitter { browser.perform((done) => { browser .click(selector).saveScreenshot(`./reports/screenshots/validateValueInput_`+ expectedValue +`.png`) - .clearValue(selector).saveScreenshot(`./reports/screenshots/validateValueInput_2_`+ expectedValue +`.png`) - .clearValue(selector).saveScreenshot(`./reports/screenshots/validateValueInput_3_`+ 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, valueTosSet).saveScreenshot(`./reports/screenshots/validateValueInput_4_`+ expectedValue +`.png`) .pause(500)