diff --git a/apps/remix-ide-e2e/src/tests/ballot.test.ts b/apps/remix-ide-e2e/src/tests/ballot.test.ts index e4522498f8..b648a06828 100644 --- a/apps/remix-ide-e2e/src/tests/ballot.test.ts +++ b/apps/remix-ide-e2e/src/tests/ballot.test.ts @@ -134,9 +134,8 @@ module.exports = { .waitForElementVisible('*[data-id="scConfigChangeFilePath"]', 10000) .click('*[data-id="scConfigChangeFilePath"]') .waitForElementVisible('*[data-id="scConfigFilePathInput"]', 10000) - .clearValue('*[data-id="scConfigFilePathInput"]') - .setValue('*[data-id="scConfigFilePathInput"]', 'cf.json') - .sendKeys('*[data-id$="scConfigFilePathInput"]', browser.Keys.ENTER) + .updateValue('*[data-id="scConfigFilePathInput"]', 'cf.json') + .sendKeys('*[data-id="scConfigFilePathInput"]', browser.Keys.ENTER) .openFile('Untitled.sol') .verifyContracts(['Ballot'], { wait: 2000, runs: '300' }) },