Skip to content

Commit 3cc48ff

Browse files
ci-botAniket-Engg
authored andcommitted
addressing dgit tests
1 parent 30777fc commit 3cc48ff

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

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

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,20 @@ module.exports = {
1212
done()
1313
})
1414
},
15-
'Update settings for git #group1 #group2': !function (browser: NightwatchBrowser) {
15+
'Update settings for git #group1 #group2': function (browser: NightwatchBrowser) {
1616
browser.
1717
clickLaunchIcon('dgit')
1818
.pause(1000)
1919
.waitForElementVisible('*[data-id="initgit-btn"]')
2020
.click('*[data-id="initgit-btn"]')
2121
.waitForElementNotPresent('*[data-id="initgit-btn"]')
2222
},
23-
'launch github login via FE #group1 #group2': !function (browser: NightwatchBrowser) {
23+
'launch github login via FE #group1 #group2': function (browser: NightwatchBrowser) {
2424
browser
25-
.clickLaunchIcon('filePanel')
26-
.pause(1000)
27-
.waitForElementVisible('*[data-id="github-dropdown-toggle-login"]')
28-
.click('*[data-id="github-dropdown-toggle-login"]')
25+
.waitForElementVisible('*[data-id="github-panel"]')
26+
.click('*[data-id="github-panel"]')
2927
},
30-
'login to github #group1 #group2': !function (browser: NightwatchBrowser) {
28+
'login to github #group1 #group2': function (browser: NightwatchBrowser) {
3129
browser
3230
.waitForElementVisible('*[data-id="github-panel"]')
3331
.waitForElementVisible('*[data-id="gitubUsername"]')
@@ -39,18 +37,18 @@ module.exports = {
3937
.pause(1000)
4038
.click('*[data-id="saveGitHubCredentials"]')
4139
},
42-
'check if the settings are loaded #group1 #group2': !function (browser: NightwatchBrowser) {
43-
browser
44-
.waitForElementVisible('*[data-id="connected-as-bunsenstraat"]')
45-
.waitForElementVisible('*[data-id="connected-img-bunsenstraat"]')
46-
.waitForElementVisible('*[data-id="connected-link-bunsenstraat"]')
47-
.waitForElementVisible('*[data-id="remotes-panel"]')
48-
},
49-
'check the FE for the auth user #group1 #group2': !function (browser: NightwatchBrowser) {
50-
browser
51-
.clickLaunchIcon('filePanel')
52-
.waitForElementVisible('*[data-id="filepanel-connected-img-bunsenstraat"]')
53-
},
40+
// 'check if the settings are loaded #group1 #group2': !function (browser: NightwatchBrowser) {
41+
// browser
42+
// .waitForElementVisible('*[data-id="connected-as-bunsenstraat"]')
43+
// .waitForElementVisible('*[data-id="connected-img-bunsenstraat"]')
44+
// .waitForElementVisible('*[data-id="connected-link-bunsenstraat"]')
45+
// .waitForElementVisible('*[data-id="remotes-panel"]')
46+
// },
47+
// 'check the FE for the auth user #group1 #group2': !function (browser: NightwatchBrowser) {
48+
// browser
49+
// .clickLaunchIcon('filePanel')
50+
// .waitForElementVisible('*[data-id="filepanel-connected-img-bunsenstraat"]')
51+
// },
5452
'clone a repository #group1': function (browser: NightwatchBrowser) {
5553
browser
5654
.clickLaunchIcon('dgit')
@@ -96,12 +94,12 @@ module.exports = {
9694
locateStrategy: 'xpath'
9795
})
9896
},
99-
'check if there is a README.md file #group1': !function (browser: NightwatchBrowser) {
97+
'check if there is a README.md file #group1': function (browser: NightwatchBrowser) {
10098
browser
10199
.clickLaunchIcon('filePanel')
102100
.waitForElementVisible('*[data-id="treeViewLitreeViewItemREADME.md"]')
103101
},
104-
'check the commands panel #group1': !function (browser: NightwatchBrowser) {
102+
'check the commands panel #group1': function (browser: NightwatchBrowser) {
105103
browser
106104
.clickLaunchIcon('dgit')
107105
.click('*[data-id="commands-panel"]')

0 commit comments

Comments
 (0)