flattentree
filip mertens 11 months ago
parent 866d4cdefa
commit f8217bb7b1
  1. 7
      apps/remix-ide-e2e/src/commands/validateValueInput.ts

@ -6,10 +6,9 @@ class ValidateValueInput extends EventEmitter {
const browser = this.api
browser.perform((done) => {
browser
.click(selector).saveScreenshot(`./reports/screenshots/validateValueInput_`+ 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`)
.click(selector)
.sendKeys(selector, browser.Keys.BACK_SPACE + browser.Keys.BACK_SPACE + browser.Keys.BACK_SPACE + browser.Keys.BACK_SPACE)
.sendKeys(selector, valueTosSet)
.pause(500)
.execute(function (selector) {
const elem = document.querySelector(selector) as HTMLInputElement

Loading…
Cancel
Save