removed setValue of `test1` to `test ` in solidityUnitTest

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent c578b7d43c
commit 116b79c09d
  1. 4
      apps/remix-ide-e2e/src/tests/editor.spec.ts
  2. 2
      apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts

@ -92,9 +92,13 @@ module.exports = {
.openFile('sourcehighlight.js') .openFile('sourcehighlight.js')
.executeScript('remix.exeCurrent()') .executeScript('remix.exeCurrent()')
.editorScroll('down', 60) .editorScroll('down', 60)
.pause(5000)
.waitForElementPresent('.highlightLine32', 60000) .waitForElementPresent('.highlightLine32', 60000)
.pause(5000)
.checkElementStyle('.highlightLine32', 'background-color', 'rgb(8, 108, 181)') .checkElementStyle('.highlightLine32', 'background-color', 'rgb(8, 108, 181)')
.pause(5000)
.waitForElementPresent('.highlightLine40', 60000) .waitForElementPresent('.highlightLine40', 60000)
.pause(5000)
.checkElementStyle('.highlightLine40', 'background-color', 'rgb(8, 108, 181)') .checkElementStyle('.highlightLine40', 'background-color', 'rgb(8, 108, 181)')
.waitForElementPresent('.highlightLine50', 60000) .waitForElementPresent('.highlightLine50', 60000)
.checkElementStyle('.highlightLine50', 'background-color', 'rgb(8, 108, 181)') .checkElementStyle('.highlightLine50', 'background-color', 'rgb(8, 108, 181)')

@ -150,7 +150,7 @@ module.exports = {
.clickLaunchIcon('solidityUnitTesting') .clickLaunchIcon('solidityUnitTesting')
.waitForElementPresent('*[data-id="uiPathInput"]', 3000) .waitForElementPresent('*[data-id="uiPathInput"]', 3000)
.clearValue('*[data-id="uiPathInput"]') .clearValue('*[data-id="uiPathInput"]')
.setValue('*[data-id="uiPathInput"]', 'tests1') .setValue('*[data-id="uiPathInput"]', 'tests')
.click('*[data-id="testTabGenerateTestFolder"]') .click('*[data-id="testTabGenerateTestFolder"]')
.clickLaunchIcon('filePanel') .clickLaunchIcon('filePanel')
// creating a new workspace // creating a new workspace

Loading…
Cancel
Save