Skip to content

Commit bea3895

Browse files
ci-botAniket-Engg
authored andcommitted
fix e2e needing logo. fix git related tests needing login
1 parent 27a1ba5 commit bea3895

File tree

6 files changed

+634
-628
lines changed

6 files changed

+634
-628
lines changed

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

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ module.exports = {
4444
.waitForElementVisible('*[data-id="connected-link-bunsenstraat"]')
4545
.waitForElementVisible('*[data-id="remotes-panel"]')
4646
},
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-
},
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+
// },
5252
'clone a repository #group1': function (browser: NightwatchBrowser) {
5353
browser
5454
// .clickLaunchIcon('dgit')
@@ -117,7 +117,7 @@ module.exports = {
117117
locateStrategy: 'xpath'
118118
})
119119
},
120-
'check the remotes #group1': !function (browser: NightwatchBrowser) {
120+
'check the remotes #group1': function (browser: NightwatchBrowser) {
121121
browser
122122

123123
.click('*[data-id="remotes-panel"]')
@@ -142,7 +142,7 @@ module.exports = {
142142
})
143143

144144
},
145-
'check the commits of branch links #group1': !function (browser: NightwatchBrowser) {
145+
'check the commits of branch links #group1': function (browser: NightwatchBrowser) {
146146
browser
147147
.waitForElementVisible({
148148
selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="branches-branch-links"]',
@@ -157,7 +157,7 @@ module.exports = {
157157
locateStrategy: 'xpath'
158158
})
159159
},
160-
'switch to branch links #group1': !function (browser: NightwatchBrowser) {
160+
'switch to branch links #group1': function (browser: NightwatchBrowser) {
161161
browser
162162
.click('*[data-id="branches-panel"]')
163163
.waitForElementVisible({
@@ -173,14 +173,14 @@ module.exports = {
173173
locateStrategy: 'xpath'
174174
})
175175
},
176-
'check the local branches #group1': !function (browser: NightwatchBrowser) {
176+
'check the local branches #group1': function (browser: NightwatchBrowser) {
177177
browser
178178
.waitForElementVisible({
179179
selector: '//*[@data-id="branches-panel-content-local-branches"]//*[@data-id="branches-toggle-current-branch-links"]',
180180
locateStrategy: 'xpath'
181181
})
182182
},
183-
'check the local commits #group1': !function (browser: NightwatchBrowser) {
183+
'check the local commits #group1': function (browser: NightwatchBrowser) {
184184
browser
185185
.click('*[data-id="commits-panel"]')
186186
.pause(1000)
@@ -197,7 +197,7 @@ module.exports = {
197197
locateStrategy: 'xpath'
198198
})
199199
},
200-
'check the commands panel for links #group1': !function (browser: NightwatchBrowser) {
200+
'check the commands panel for links #group1': function (browser: NightwatchBrowser) {
201201
browser
202202
.click('*[data-id="commands-panel"]')
203203
.waitForElementVisible({
@@ -213,7 +213,7 @@ module.exports = {
213213
locateStrategy: 'xpath'
214214
})
215215
},
216-
'disconnect github #group1': !function (browser: NightwatchBrowser) {
216+
'disconnect github #group1': function (browser: NightwatchBrowser) {
217217
browser
218218
.waitForElementVisible('*[data-id="github-panel"]')
219219
.pause(1000)
@@ -223,13 +223,13 @@ module.exports = {
223223
.click('*[data-id="disconnect-github"]')
224224
.waitForElementNotPresent('*[data-id="connected-as-bunsenstraat"]')
225225
},
226-
'check the FE for the disconnected auth user #group1': !function (browser: NightwatchBrowser) {
227-
browser
228-
.clickLaunchIcon('filePanel')
229-
.waitForElementNotPresent('*[data-id="filepanel-connected-img-bunsenstraat"]')
230-
.waitForElementVisible('*[data-id="filepanel-login-github"]')
231-
},
232-
'add a remote #group2': !function (browser: NightwatchBrowser) {
226+
// 'check the FE for the disconnected auth user #group1': function (browser: NightwatchBrowser) {
227+
// browser
228+
// .clickLaunchIcon('filePanel')
229+
// .waitForElementNotPresent('*[data-id="filepanel-connected-img-bunsenstraat"]')
230+
// .waitForElementVisible('*[data-id="filepanel-login-github"]')
231+
// },
232+
'add a remote #group2': function (browser: NightwatchBrowser) {
233233
browser
234234
.pause(1000)
235235
.clickLaunchIcon('dgit')
@@ -276,7 +276,7 @@ module.exports = {
276276
locateStrategy: 'xpath'
277277
})
278278
},
279-
'check the commands panel for newremote #group2': !function (browser: NightwatchBrowser) {
279+
'check the commands panel for newremote #group2': function (browser: NightwatchBrowser) {
280280
browser
281281
.pause(1000)
282282
.click('*[data-id="commands-panel"]')
@@ -304,7 +304,7 @@ module.exports = {
304304
}
305305
})
306306
},
307-
'remove the remote #group2': !function (browser: NightwatchBrowser) {
307+
'remove the remote #group2': function (browser: NightwatchBrowser) {
308308
browser
309309
.pause(1000)
310310
.click('*[data-id="remotes-panel"]')
@@ -323,7 +323,7 @@ module.exports = {
323323
locateStrategy: 'xpath'
324324
})
325325
},
326-
'check the commands panel for removed remote #group2': !function (browser: NightwatchBrowser) {
326+
'check the commands panel for removed remote #group2': function (browser: NightwatchBrowser) {
327327
browser
328328
.pause(1000)
329329
.click('*[data-id="commands-panel"]')
@@ -351,7 +351,7 @@ module.exports = {
351351
})
352352
},
353353
// pagination test
354-
'clone repo #group3': !function (browser: NightwatchBrowser) {
354+
'clone repo #group3': function (browser: NightwatchBrowser) {
355355
browser
356356
.clickLaunchIcon('dgit')
357357
.waitForElementVisible('*[data-id="clone-panel"]')
@@ -365,7 +365,7 @@ module.exports = {
365365
.clickLaunchIcon('filePanel')
366366
.waitForElementVisible('*[data-id="treeViewLitreeViewItemREADME.md"]')
367367
},
368-
'Update settings for git #group3': !function (browser: NightwatchBrowser) {
368+
'Update settings for git #group3': function (browser: NightwatchBrowser) {
369369
browser.
370370
clickLaunchIcon('dgit')
371371
.waitForElementVisible('*[data-id="github-panel"]')
@@ -382,7 +382,7 @@ module.exports = {
382382
.pause(1000)
383383
.modalFooterOKClick('github-credentials-error')
384384
},
385-
'check the commits panel for pagination #group3': !function (browser: NightwatchBrowser) {
385+
'check the commits panel for pagination #group3': function (browser: NightwatchBrowser) {
386386
browser
387387
.waitForElementVisible('*[data-id="commits-panel"]')
388388
.click('*[data-id="commits-panel"]')
@@ -391,7 +391,7 @@ module.exports = {
391391
browser.assert.ok((result.value as any).length == 1)
392392
})
393393
},
394-
'load more commits #group3': !function (browser: NightwatchBrowser) {
394+
'load more commits #group3': function (browser: NightwatchBrowser) {
395395
browser
396396
.waitForElementVisible('*[data-id="load-more-commits"]')
397397
.click('*[data-id="load-more-commits"]')
@@ -403,7 +403,7 @@ module.exports = {
403403
browser.assert.ok((result.value as any).length > 2)
404404
})
405405
},
406-
'load more branches from remote #group3': !function (browser: NightwatchBrowser) {
406+
'load more branches from remote #group3': function (browser: NightwatchBrowser) {
407407
browser
408408
.click('*[data-id="branches-panel"]')
409409
.waitForElementVisible({

0 commit comments

Comments
 (0)