File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
apps/remix-ide-e2e/src/tests Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module.exports = {
12
12
. waitForElementVisible ( 'div[data-id="verticalIconsHomeIcon"]' )
13
13
. waitForElementVisible ( 'div[plugin="filePanel"]' )
14
14
. waitForElementVisible ( 'div[plugin="pluginManager"]' )
15
- . waitForElementVisible ( 'div[plugin="settings "]' )
15
+ . waitForElementVisible ( '*[data-id="topbar-settingsIcon "]' )
16
16
} ,
17
17
18
18
'Loads Side Panel' : function ( browser : NightwatchBrowser ) {
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ module.exports = {
15
15
} ,
16
16
17
17
'Import from GitHub Modal #group1' : function ( browser : NightwatchBrowser ) {
18
- browser . clickLaunchIcon ( 'home' )
18
+ browser
19
+ . clickLaunchIcon ( 'filePanel' )
19
20
. waitForElementVisible ( '*[data-id="remixIdeIconPanel"]' , 10000 )
20
21
. clickLaunchIcon ( 'filePanel' )
21
22
. waitForElementVisible ( '*[data-id="verticalIconsHomeIcon"]' )
@@ -37,8 +38,9 @@ module.exports = {
37
38
( document . querySelector ( 'input[data-id="modalDialogCustomPromptTextClone"]' ) as any ) . focus ( )
38
39
} , [ ] , ( ) => { } )
39
40
. setValue ( 'input[data-id="modalDialogCustomPromptTextClone"]' , testData . invalidURL )
40
- . waitForElementVisible ( '*[data-id="fileSystemModalDialogModalFooter-react"]' )
41
- . click ( '[data-id="fileSystem-modal-footer-ok-react"]' ) // submitted
41
+ . pause ( )
42
+ . waitForElementVisible ( '*[data-id="topbarModalModalDialogModalFooter-react"]' )
43
+ . click ( '[data-id="topbarModal-modal-footer-ok-react"]' ) // submitted
42
44
//.waitForElementVisible('*[data-shared="tooltipPopup"]')
43
45
//.waitForElementContainsText('*[data-shared="tooltipPopup"] span', 'not found ' + testData.invalidURL)
44
46
} ,
Original file line number Diff line number Diff line change @@ -155,11 +155,11 @@ module.exports = {
155
155
. click ( '[data-id="github-dropdown-toggle"]' )
156
156
. waitForElementVisible ( '[data-id="github-dropdown-item-clone"]' )
157
157
. click ( '[data-id="github-dropdown-item-clone"]' )
158
- . waitForElementVisible ( '[data-id="topbarModalDialogModalBody -react"]' )
159
- . click ( '[data-id="topbarModalDialogModalBody -react"]' )
158
+ . waitForElementVisible ( '[data-id="topbarModalModalDialogModalBody -react"]' )
159
+ . click ( '[data-id="topbarModalModalDialogModalBody -react"]' )
160
160
. waitForElementVisible ( '[data-id="modalDialogCustomPromptTextClone"]' )
161
161
. setValue ( '[data-id="modalDialogCustomPromptTextClone"]' , 'https://github.com/remix-project-org/remix-reward' )
162
- . click ( '[data-id="fileSystem -modal-footer-ok-react"]' )
162
+ . click ( '[data-id="topbarModal -modal-footer-ok-react"]' )
163
163
. waitForElementPresent ( '.fa-spinner' )
164
164
. waitForElementNotPresent ( '.fa-spinner' , 120000 )
165
165
. waitForElementVisible ( '*[data-id="treeViewLitreeViewItem.git"]' )
You can’t perform that action at this time.
0 commit comments