Skip to content

Commit 9d0cb48

Browse files
ci-botAniket-Engg
authored andcommitted
fix import from git test
1 parent 42dd389 commit 9d0cb48

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,16 @@ module.exports = {
4545
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
4646
.clickLaunchIcon('filePanel')
4747
.click('div[data-id="verticalIconsHomeIcon"]')
48-
.pause(1000)
49-
.click('*[data-id="workspacesSelect"]')
50-
.click('*[data-id="workspaceclone"]')
48+
.waitForElementVisible('*[data-id="github-dropdown-toggle"]')
49+
.click('*[data-id="github-dropdown-toggle"]')
5150
.waitForElementVisible('input[data-id="modalDialogCustomPromptTextClone"]')
5251
.execute(() => {
5352
(document.querySelector('input[data-id="modalDialogCustomPromptTextClone"]') as any).focus()
5453
}, [], () => { })
5554
.clearValue('input[data-id="modalDialogCustomPromptTextClone"]').pause(1000)
5655
.setValue('input[data-id="modalDialogCustomPromptTextClone"]', testData.validURL)
57-
.waitForElementVisible('*[data-id="fileSystem-modal-footer-ok-react"]')
58-
.click('[data-id="fileSystem-modal-footer-ok-react"]')
56+
.waitForElementVisible('*[data-id="topbarModal-modal-footer-ok-react"]')
57+
.click('[data-id="topbarModal-modal-footer-ok-react"]')
5958
.openFile('Roles.sol')
6059
.waitForElementVisible({
6160
selector: `//*[@data-id='tab-active' and @data-path="git-hometab-test.git/Roles.sol"]`,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ function runTests (browser: NightwatchBrowser) {
7777
'Fallback function of contract TooMuchGas requires too much gas',
7878
'TooMuchGas.() : Variables have very similar names "test" and "test1".',
7979
'TooMuchGas.() : Variables have very similar names "test" and "test1".'],
80-
'#staticanalysisresult .warning',
81-
browser
80+
'#staticanalysisresult .warning',
81+
browser
8282
)
8383
})
8484
}

0 commit comments

Comments
 (0)