diff --git a/src/framingService.js b/src/framingService.js index fa50132742..e39bebbb19 100644 --- a/src/framingService.js +++ b/src/framingService.js @@ -2,12 +2,12 @@ export default { start: (appStore, swapPanelApi, verticalIconApi, mainPanelApi, resizeFeature) => { swapPanelApi.event.on('toggle', (moduleName) => { resizeFeature.panel1.clientWidth !== 0 ? resizeFeature.minimize() : resizeFeature.maximise() - if (moduleName === 'file explorers') { + if (moduleName === 'fileExplorers') { mainPanelApi.showContent('code editor') } }) swapPanelApi.event.on('showing', (moduleName) => { - if (moduleName === 'file explorers') { + if (moduleName === 'fileExplorers') { mainPanelApi.showContent('code editor') } resizeFeature.panel1.clientWidth === 0 ? resizeFeature.maximise() : '' @@ -21,7 +21,7 @@ export default { }) // mainPanelApi.event.on('showing', (moduleName) => {}) - verticalIconApi.select('file explorers') + verticalIconApi.select('fileExplorers') verticalIconApi.select('homepage') resizeFeature.minimize() } diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index fef021a582..d7ac4df799 100644 --- a/test-browser/helpers/contracts.js +++ b/test-browser/helpers/contracts.js @@ -50,14 +50,14 @@ function getCompiledContracts (browser, compiled, callback) { } function selectContract (browser, contractName, callback) { - browser.clickLaunchIcon('settings').clickLaunchIcon('run transactions') + browser.clickLaunchIcon('settings').clickLaunchIcon('run') .setValue('#runTabView select[class^="contractNames"]', contractName).perform(() => { callback() }) } function createContract (browser, inputParams, callback) { - browser.clickLaunchIcon('settings').clickLaunchIcon('run transactions') + browser.clickLaunchIcon('settings').clickLaunchIcon('run') .setValue('div[class^="contractActionsContainerSingle"] input', inputParams, function () { browser.click('#runTabView button[class^="instanceButton"]').pause(500).perform(function () { callback() }) }) @@ -217,7 +217,7 @@ function setEditorValue (value, callback) { } function addInstance (browser, address, isValidFormat, isValidChecksum, callback) { - browser.clickLaunchIcon('run transactions').clearValue('.ataddressinput').setValue('.ataddressinput', address, function () { + browser.clickLaunchIcon('run').clearValue('.ataddressinput').setValue('.ataddressinput', address, function () { browser.click('div[class^="atAddress"]') .execute(function () { var ret = document.querySelector('div[class^="modalBody"] div').innerHTML @@ -265,7 +265,7 @@ function modalFooterOKClick () { } function addFile (browser, name, content, done) { - browser.clickLaunchIcon('run transactions').clickLaunchIcon('file explorers').click('.newFile') + browser.clickLaunchIcon('run').clickLaunchIcon('fileExplorers').click('.newFile') .perform((client, done) => { browser.execute(function (fileName) { if (fileName !== 'Untitled.sol') { @@ -372,7 +372,7 @@ function useFilter (browser, filter, test, done) { } function switchFile (browser, name, done) { - browser.clickLaunchIcon('settings').clickLaunchIcon('file explorers') + browser.clickLaunchIcon('settings').clickLaunchIcon('fileExplorers') .click('li[key="' + name + '"]') .pause(2000) .perform(() => { diff --git a/test-browser/helpers/init.js b/test-browser/helpers/init.js index f3c186a34d..3e913bdfd8 100644 --- a/test-browser/helpers/init.js +++ b/test-browser/helpers/init.js @@ -22,10 +22,10 @@ function initModules (browser, callback) { document.querySelector('div[title="pluginManager"]').scrollTop = document.querySelector('div[title="pluginManager"]').scrollHeight }, [], function () { browser.click('#pluginManager div[title="solidity"] button') - .click('#pluginManager div[title="run transactions"] button') - .click('#pluginManager div[title="solidity static analysis"] button') + .click('#pluginManager div[title="run"] button') + .click('#pluginManager div[title="solidityStaticAnalysis"] button') .click('#pluginManager div[title="debugger"] button') - .click('#icon-panel div[title="file explorers"]') + .click('#icon-panel div[title="fileExplorers"]') .perform(() => { callback() }) }) }