|
|
|
@ -31,8 +31,6 @@ module.exports = { |
|
|
|
|
'Display Error Message For Invalid GitHub URL Modal': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) |
|
|
|
|
.clickLaunchIcon('settings') |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.scrollAndClick('*[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
|
.waitForElementVisible('input[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.execute(() => { |
|
|
|
@ -48,8 +46,6 @@ module.exports = { |
|
|
|
|
'Import From Github For Valid URL': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) |
|
|
|
|
.clickLaunchIcon('settings').pause(1000) |
|
|
|
|
.clickLaunchIcon('filePanel').pause(1000) |
|
|
|
|
.scrollAndClick('*[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
|
.waitForElementVisible('*[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.clearValue('*[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|