.txt added in README

sl
aniket-engg 4 years ago committed by Aniket
parent ebf347d439
commit 5d8fcd997e
  1. 2
      apps/remix-ide-e2e/src/tests/defaultLayout.test.ts
  2. 4
      apps/remix-ide-e2e/src/tests/fileExplorer.test.ts
  3. 4
      apps/remix-ide-e2e/src/tests/gist.test.ts
  4. 2
      apps/remix-ide/src/app/editor/examples.js

@ -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 = {
'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 = {
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 = {
.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 = {
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 }
} }

Loading…
Cancel
Save