|
|
@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|