Skip to content

Commit 27a1ba5

Browse files
ci-botAniket-Engg
authored andcommitted
fix dgit and npm import tests
1 parent 3cc48ff commit 27a1ba5

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,22 @@ module.exports = {
3737
.pause(1000)
3838
.click('*[data-id="saveGitHubCredentials"]')
3939
},
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-
// },
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+
},
5252
'clone a repository #group1': function (browser: NightwatchBrowser) {
5353
browser
54-
.clickLaunchIcon('dgit')
54+
// .clickLaunchIcon('dgit')
55+
.waitForElementVisible('*[data-id="clone-panel"]')
5556
.click('*[data-id="clone-panel"]')
5657
.click({
5758
selector: '//*[@data-id="clone-panel-content"]//*[@data-id="fetch-repositories"]',

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ module.exports = {
151151
browser
152152
// clone https://github.com/yann300/remix-reward
153153
.clickLaunchIcon('filePanel')
154-
.waitForElementVisible('[data-id="workspaceMenuDropdown"]')
155-
.click('[data-id="workspaceMenuDropdown"]')
156-
.waitForElementVisible('[data-id="workspaceclone"]')
157-
.click('[data-id="workspaceclone"]')
154+
.waitForElementVisible('[data-id="github-dropdown-toggle"]')
155+
.click('[data-id="github-dropdown-toggle"]')
156+
.waitForElementVisible('[data-id="github-dropdown-item-clone"]')
157+
.click('[data-id="github-dropdown-item-clone"]')
158158
.waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]')
159159
.click('[data-id="fileSystemModalDialogModalBody-react"]')
160160
.waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]')

0 commit comments

Comments
 (0)