diff --git a/apps/remix-ide-e2e/src/tests/ballot.test.ts b/apps/remix-ide-e2e/src/tests/ballot.test.ts index 99403e95f9..8a7237efce 100644 --- a/apps/remix-ide-e2e/src/tests/ballot.test.ts +++ b/apps/remix-ide-e2e/src/tests/ballot.test.ts @@ -131,17 +131,21 @@ module.exports = { .click('*[data-id="scConfigExpander"]') .waitForElementVisible('*[data-id="scFileConfiguration"]', 10000) .click('*[data-id="scFileConfiguration"]') - .saveScreenshot('./reports/screenshots/cf-00.png') .waitForElementVisible('*[data-id="scConfigChangeFilePath"]', 10000) - .saveScreenshot('./reports/screenshots/cf-01.png') .click('*[data-id="scConfigChangeFilePath"]') - .saveScreenshot('./reports/screenshots/cf-0.png') .waitForElementVisible('*[data-id="scConfigFilePathInput"]', 10000) - .saveScreenshot('./reports/screenshots/cf-1.png') .updateValue('*[data-id="scConfigFilePathInput"]', 'cf.json') - .saveScreenshot('./reports/screenshots/cf-2.png') .sendKeys('*[data-id="scConfigFilePathInput"]', browser.Keys.ENTER) - .saveScreenshot('./reports/screenshots/cf-3.png') + .waitForElementVisible('*[data-id="scConfigChangeFilePath"]', 10000) + .click('*[data-id="scConfigChangeFilePath"]') + .waitForElementVisible('*[data-id="scConfigFilePathInput"]', 10000) + .updateValue('*[data-id="scConfigFilePathInput"]', 'cf.json') + .sendKeys('*[data-id="scConfigFilePathInput"]', browser.Keys.ENTER) + .waitForElementVisible('*[data-id="scConfigChangeFilePath"]', 10000) + .click('*[data-id="scConfigChangeFilePath"]') + .waitForElementVisible('*[data-id="scConfigFilePathInput"]', 10000) + .updateValue('*[data-id="scConfigFilePathInput"]', 'cf.json') + .sendKeys('*[data-id="scConfigFilePathInput"]', browser.Keys.ENTER) .openFile('Untitled.sol') .verifyContracts(['Ballot'], { wait: 2000, runs: '300' }) },