Skip to content

Commit 5d5d101

Browse files
ci-botAniket-Engg
authored andcommitted
fix import from Github test
1 parent 9d0cb48 commit 5d5d101

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ module.exports = {
2020
.clickLaunchIcon('filePanel')
2121
.click('div[data-id="verticalIconsHomeIcon"]')
2222
.pause(1000)
23-
.click('*[data-id="workspacesSelect"]')
24-
.click('*[data-id="workspaceclone"]')
25-
.waitForElementVisible('*[data-id="fileSystemModalDialogModalTitle-react"]')
26-
.assert.containsText('*[data-id="fileSystemModalDialogModalTitle-react"]', 'Clone Git Repository')
27-
.waitForElementVisible('*[data-id="fileSystemModalDialogModalBody-react"]')
23+
.waitForElementVisible('*[data-id="github-dropdown-toggle"]')
24+
.click('*[data-id="github-dropdown-toggle"]')
25+
.waitForElementVisible('*[data-id="github-dropdown-item-clone"]')
26+
.click('*[data-id="github-dropdown-item-clone"]')
27+
.waitForElementVisible('*[data-id="topbarModalModalDialogModalTitle-react"]')
28+
.assert.containsText('*[data-id="topbarModalModalDialogModalTitle-react"]', 'Clone Git Repository')
29+
.waitForElementVisible('*[data-id="topbarModalModalDialogModalBody-react"]')
2830
.waitForElementVisible('input[data-id="modalDialogCustomPromptTextClone"]')
2931
},
3032

@@ -47,6 +49,8 @@ module.exports = {
4749
.click('div[data-id="verticalIconsHomeIcon"]')
4850
.waitForElementVisible('*[data-id="github-dropdown-toggle"]')
4951
.click('*[data-id="github-dropdown-toggle"]')
52+
.waitForElementVisible('*[data-id="github-dropdown-item-clone"]')
53+
.click('*[data-id="github-dropdown-item-clone"]')
5054
.waitForElementVisible('input[data-id="modalDialogCustomPromptTextClone"]')
5155
.execute(() => {
5256
(document.querySelector('input[data-id="modalDialogCustomPromptTextClone"]') as any).focus()

0 commit comments

Comments
 (0)