Skip to content

Commit dcd7aa2

Browse files
joeizangAniket-Engg
authored andcommitted
restore e2e for git clone
1 parent 5af7683 commit dcd7aa2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/remix-ide-e2e/src/tests/importFromGithub.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
init(browser, done)
1515
},
1616

17-
'Import from GitHub Modal #group1': '' +function (browser: NightwatchBrowser) {
17+
'Import from GitHub Modal #group1': function (browser: NightwatchBrowser) {
1818
browser.clickLaunchIcon('home')
1919
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
2020
.clickLaunchIcon('filePanel')
@@ -28,7 +28,7 @@ module.exports = {
2828
.waitForElementVisible('input[data-id="modalDialogCustomPromptTextClone"]')
2929
},
3030

31-
'Display Error Message For Invalid GitHub URL Modal #group1': '' +function (browser: NightwatchBrowser) {
31+
'Display Error Message For Invalid GitHub URL Modal #group1': function (browser: NightwatchBrowser) {
3232
browser
3333
.execute(() => {
3434
(document.querySelector('input[data-id="modalDialogCustomPromptTextClone"]') as any).focus()
@@ -40,7 +40,7 @@ module.exports = {
4040
//.waitForElementContainsText('*[data-shared="tooltipPopup"] span', 'not found ' + testData.invalidURL)
4141
},
4242

43-
'Clone From GitHub with Valid URL #group2': '' +function (browser: NightwatchBrowser) {
43+
'Clone From GitHub with Valid URL #group2': function (browser: NightwatchBrowser) {
4444
browser
4545
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
4646
.clickLaunchIcon('filePanel')
@@ -64,7 +64,7 @@ module.exports = {
6464
browser.assert.ok(content.indexOf('library Roles {') !== -1, 'content does contain "library Roles {"')
6565
})
6666
},
67-
'Confirm JSON After Cloning From GitHub For Valid URL #group2': '' +function (browser: NightwatchBrowser) {
67+
'Confirm JSON After Cloning From GitHub For Valid URL #group2': function (browser: NightwatchBrowser) {
6868
browser
6969
.click('div[data-id="verticalIconsHomeIcon"]')
7070
.openFile('package.json')

0 commit comments

Comments
 (0)