|
|
|
@ -35,9 +35,7 @@ module.exports = { |
|
|
|
|
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) |
|
|
|
|
.scrollAndClick('*[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
|
.waitForElementVisible('input[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.execute(() => { |
|
|
|
|
(document.querySelector('input[data-id="homeTabModalDialogCustomPromptText"]') as any).focus() |
|
|
|
|
}, [], () => {}) |
|
|
|
|
.click('input[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.setValue('input[data-id="homeTabModalDialogCustomPromptText"]', testData.invalidURL) |
|
|
|
|
.waitForElementVisible('*[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
|
.scrollAndClick('[data-id="homeTab-modal-footer-ok-react"]') // submitted
|
|
|
|
@ -51,9 +49,7 @@ module.exports = { |
|
|
|
|
.scrollAndClick('*[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
|
.waitForElementVisible('*[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.clearValue('*[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.execute(() => { |
|
|
|
|
(document.querySelector('input[data-id="homeTabModalDialogCustomPromptText"]') as any).focus() |
|
|
|
|
}, [], () => {}) |
|
|
|
|
.click('input[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.setValue('input[data-id="homeTabModalDialogCustomPromptText"]', testData.validURL) |
|
|
|
|
.waitForElementVisible('*[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
|
.scrollAndClick('[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
@ -69,9 +65,7 @@ module.exports = { |
|
|
|
|
.scrollAndClick('*[data-id="landingPageImportFromGitHubButton"]') |
|
|
|
|
.waitForElementVisible('*[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.clearValue('*[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.execute(() => { |
|
|
|
|
(document.querySelector('input[data-id="homeTabModalDialogCustomPromptText"]') as any).focus() |
|
|
|
|
}, [], () => {}) |
|
|
|
|
.click('input[data-id="homeTabModalDialogCustomPromptText"]') |
|
|
|
|
.setValue('input[data-id="homeTabModalDialogCustomPromptText"]', testData.JSON) |
|
|
|
|
.waitForElementVisible('*[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
|
.scrollAndClick('[data-id="homeTab-modal-footer-ok-react"]') |
|
|
|
|