File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
apps/remix-ide-e2e/src/tests Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,24 @@ module.exports = {
17
17
browser . clickLaunchIcon ( 'pluginManager' )
18
18
. scrollAndClick ( '[data-id="pluginManagerComponentActivateButtonvyper"]' )
19
19
. clickLaunchIcon ( 'vyper' )
20
- . pause ( 5000 )
21
- // @ts -ignore
22
20
. frame ( 0 )
23
21
} ,
24
22
25
23
'Should clone the Vyper repo #group1' : function ( browser : NightwatchBrowser ) {
26
- browser . click ( 'button[data-id="add-repository"]' )
24
+ browser
25
+ . waitForElementVisible ( 'button[data-id="add-repository"]' )
26
+ . click ( 'button[data-id="add-repository"]' )
27
27
. frameParent ( )
28
28
. clickLaunchIcon ( 'filePanel' )
29
29
. waitForElementVisible ( {
30
30
selector : "//*[@data-id='workspacesSelect' and contains(.,'snekmate')]" ,
31
31
locateStrategy : 'xpath' ,
32
32
timeout : 120000
33
33
} )
34
- . currentWorkspaceIs ( 'snekmate' )
35
34
. waitForElementVisible ( {
36
- selector : "//*[@data-id='treeViewLitreeViewItemsrc' and contains(.,'src ')]" ,
35
+ selector : "//*[contains(., 'Vyper repository cloned ')]" ,
37
36
locateStrategy : 'xpath' ,
38
- timeout : 1200000
37
+ timeout : 120000
39
38
} )
40
39
} ,
41
40
// 'Add vyper file to run tests #group1': function (browser: NightwatchBrowser) {
@@ -123,6 +122,7 @@ module.exports = {
123
122
. clickLaunchIcon ( 'vyper' )
124
123
// @ts -ignore
125
124
. frame ( 0 )
125
+ . waitForElementVisible ( '[data-id="compile"]' )
126
126
. click ( '[data-id="compile"]' )
127
127
. waitForElementVisible ( {
128
128
selector :'[data-id="compilation-details"]' ,
You can’t perform that action at this time.
0 commit comments