|
|
@ -36,9 +36,9 @@ module.exports = { |
|
|
|
.addFile('File.sol', { content: '' }) |
|
|
|
.addFile('File.sol', { content: '' }) |
|
|
|
.executeScript(`remix.loadgist('${gistid}')`) |
|
|
|
.executeScript(`remix.loadgist('${gistid}')`) |
|
|
|
// .perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('gists') } done() })
|
|
|
|
// .perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('gists') } done() })
|
|
|
|
.waitForElementVisible(`[data-id="treeViewLitreeViewItemgist-${gistid}"]`) |
|
|
|
.waitForElementVisible(`[data-id="treeViewLitreeViewItem${gistid}"]`) |
|
|
|
.click(`[data-id="treeViewLitreeViewItemgist-${gistid}"]`) |
|
|
|
.click(`[data-id="treeViewLitreeViewItem${gistid}"]`) |
|
|
|
.openFile(`gist-${gistid}/README.txt`) |
|
|
|
.openFile(`${gistid}/README.txt`) |
|
|
|
// Remix publish to gist
|
|
|
|
// Remix publish to gist
|
|
|
|
/* .click('*[data-id="fileExplorerNewFilepublishToGist"]') |
|
|
|
/* .click('*[data-id="fileExplorerNewFilepublishToGist"]') |
|
|
|
.pause(2000) |
|
|
|
.pause(2000) |
|
|
|