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