diff --git a/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts b/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts index 5dc4dfafaa..a536a5fe6c 100644 --- a/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts +++ b/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 })