Commit 5d8fcd99 authored by aniket-engg's avatar aniket-engg Committed by Aniket

.txt added in README

parent ebf347d4
...@@ -23,7 +23,7 @@ module.exports = { ...@@ -23,7 +23,7 @@ module.exports = {
.waitForElementVisible('li[key="browser/contracts"]') .waitForElementVisible('li[key="browser/contracts"]')
.waitForElementVisible('li[key="browser/scripts"]') .waitForElementVisible('li[key="browser/scripts"]')
.waitForElementVisible('li[key="browser/tests"]') .waitForElementVisible('li[key="browser/tests"]')
.waitForElementVisible('li[key="browser/README"]') .waitForElementVisible('li[key="browser/README.txt"]')
}, },
'Loads Main View': function (browser: NightwatchBrowser) { 'Loads Main View': function (browser: NightwatchBrowser) {
......
...@@ -46,8 +46,8 @@ module.exports = { ...@@ -46,8 +46,8 @@ module.exports = {
'Should create a new folder': function (browser: NightwatchBrowser) { 'Should create a new folder': function (browser: NightwatchBrowser) {
browser browser
.waitForElementVisible('*[data-id="treeViewLibrowser/README"]') .waitForElementVisible('*[data-id="treeViewLibrowser/README.txt"]')
.rightClick('[data-path="browser/README"]') .rightClick('[data-path="browser/README.txt"]')
.click('*[id="menuitemcreate folder"]') .click('*[id="menuitemcreate folder"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]') .waitForElementVisible('*[data-id="modalDialogContainer"]')
.setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests') .setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')
......
...@@ -26,7 +26,7 @@ module.exports = { ...@@ -26,7 +26,7 @@ module.exports = {
browser browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('fileExplorers') .clickLaunchIcon('fileExplorers')
.rightClick('[data-path="browser/README"]') .rightClick('[data-path="browser/README.txt"]')
.click('*[id="menuitemcreate folder"]') .click('*[id="menuitemcreate folder"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]') .waitForElementVisible('*[data-id="modalDialogContainer"]')
.setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests') .setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')
...@@ -50,7 +50,7 @@ module.exports = { ...@@ -50,7 +50,7 @@ module.exports = {
.perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('browser/gists') } done() }) .perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('browser/gists') } done() })
.waitForElementVisible(`li[key="browser/gists/${gistid}"]`) .waitForElementVisible(`li[key="browser/gists/${gistid}"]`)
.click(`li[key="browser/gists/${gistid}"]`) .click(`li[key="browser/gists/${gistid}"]`)
.openFile(`browser/gists/${gistid}/README`) .openFile(`browser/gists/${gistid}/README.txt`)
.perform(done) .perform(done)
} }
}) })
......
...@@ -335,5 +335,5 @@ module.exports = { ...@@ -335,5 +335,5 @@ module.exports = {
deployWithWeb3: { name: 'scripts/deployWithWeb3.js', content: deployWithWeb3 }, deployWithWeb3: { name: 'scripts/deployWithWeb3.js', content: deployWithWeb3 },
deployWithEthers: { name: 'scripts/deployWithEthers.js', content: deployWithEthers }, deployWithEthers: { name: 'scripts/deployWithEthers.js', content: deployWithEthers },
ballot_test: { name: 'tests/4_Ballot_test.sol', content: ballotTest }, ballot_test: { name: 'tests/4_Ballot_test.sol', content: ballotTest },
readme: { name: 'README', content: readme } readme: { name: 'README.txt', content: readme }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment