|
|
|
@ -18,7 +18,7 @@ module.exports = { |
|
|
|
|
browser.clickLaunchIcon('home') |
|
|
|
|
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.click('div[title="Remix Home"]') |
|
|
|
|
.click('div[data-id="verticalIconsHomeIcon"]') |
|
|
|
|
.waitForElementVisible('button[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
|
.pause(1000) |
|
|
|
|
.click('button[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
@ -78,7 +78,7 @@ module.exports = { |
|
|
|
|
.waitForElementVisible('*[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
|
.click('[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
|
.openFile('github/ethereum/remix-project/package.json') |
|
|
|
|
.waitForElementVisible("div[title='default_workspace/github/ethereum/remix-project/package.json'") |
|
|
|
|
.waitForElementVisible("div[@data-path='default_workspace/github/ethereum/remix-project/package.json'") |
|
|
|
|
.getEditorValue((content) => { |
|
|
|
|
browser.assert.ok(content.indexOf('"name": "remix-project",') !== -1, 'content does contain "name": "remix-project"') |
|
|
|
|
}) |
|
|
|
|