File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
apps/remix-ide-e2e/src/tests Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ const tests = {
24
24
. click ( '*[data-id="treeViewDivtreeViewItemscripts"]' )
25
25
. waitForElementVisible ( '*[data-id="treeViewDivtreeViewItemscripts/deploy_with_ethers.ts"]' )
26
26
. click ( '*[data-id="treeViewDivtreeViewItemscripts/deploy_with_ethers.ts"]' )
27
- . waitForElementVisible ( 'button[data-id="script-config"]' )
28
- . click ( 'button[data-id="script-config"]' )
27
+ . waitForElementVisible ( '*[data-id="run-script-dropdown-trigger"]' )
28
+ . click ( '*[data-id="run-script-dropdown-trigger"]' )
29
+ . click ( '*[data-id="open-script-configuration-menu-item"]' )
29
30
. waitForElementVisible ( '[data-id="sr-loaded-default"]' )
30
31
. waitForElementVisible ( '[data-id="dependency-ethers-^5"]' )
31
32
. waitForElementVisible ( '[data-id="sr-notloaded-ethers6"]' )
@@ -110,8 +111,10 @@ const tests = {
110
111
'reset to default after template' : function ( browser : NightwatchBrowser ) {
111
112
browser
112
113
. refreshPage ( )
113
- . waitForElementVisible ( 'button[data-id="script-config"]' )
114
- . click ( 'button[data-id="script-config"]' )
114
+ . openFile ( 'scripts/deploy.ts' )
115
+ . waitForElementVisible ( '*[data-id="run-script-dropdown-trigger"]' )
116
+ . click ( '*[data-id="run-script-dropdown-trigger"]' )
117
+ . click ( '*[data-id="open-script-configuration-menu-item"]' )
115
118
. waitForElementVisible ( '[data-id="sr-notloaded-default"]' )
116
119
. waitForElementVisible ( '[data-id="sr-loaded-ethers6"]' )
117
120
} ,
You can’t perform that action at this time.
0 commit comments