Merge pull request #2705 from ethereum/publish-to-gist

Added folder and file to publish to gist test
pull/1/head
yann300 5 years ago committed by GitHub
commit 45c244d6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      test-browser/tests/gist.js

@ -24,6 +24,13 @@ module.exports = {
browser browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('fileExplorers') .clickLaunchIcon('fileExplorers')
.rightClick('[data-path="browser/1_Storage.sol"]')
.click('*[id="menuitemcreate folder"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')
.modalFooterOKClick()
.waitForElementVisible('*[data-id="treeViewLibrowser/Browser_Tests"]')
.addFile('File.sol', { content: '' })
.click('*[data-id="fileExplorerNewFilepublishToGist"]') .click('*[data-id="fileExplorerNewFilepublishToGist"]')
.modalFooterOKClick() .modalFooterOKClick()
.getModalBody((value, done) => { .getModalBody((value, done) => {

Loading…
Cancel
Save