fix failing e2e test

pull/5370/head
Joseph Izang 2 years ago
parent 11e17d34cf
commit 748ef3e5e9
  1. 10
      apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts

@ -152,9 +152,13 @@ module.exports = {
.waitForElementPresent('*[data-id="verticalIconsKindfilePanel"]')
.addFile('myTests/simple_storage_test.sol', sources[0]['tests/simple_storage_test.sol'])
.clickLaunchIcon('solidityUnitTesting')
.clearValue('*[data-id="uiPathInput"]')
// .setValue('*[data-id="uiPathInput"]', 'myTests')
.updateValue('*[data-id="uiPathInput"]','myTests')
.execute(() => {
const myQuery: any = document.getElementById('utPath')
console.log({ myQuery })
myQuery.value = 'myTests'
console.log('reset input')
})
.click('*[data-id="testTabGenerateTestFolder"]')
.saveScreenshot('./reports/screenshots/changeCurrentPathg3.png')
.clickElementAtPosition('.singleTest', 0, { forceSelectIfUnselected: true })

Loading…
Cancel
Save