File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/selenium-ide/src/neo/playback/playback-tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ export class CommandNode {
67
67
'Max retry limit exceeded. To override it, specify a new limit in the value input field.' ,
68
68
} )
69
69
}
70
+ if ( this . isTerminal ( ) ) {
71
+ return Promise . resolve (
72
+ this . _executionResult ( commandExecutor , { result : 'success' } )
73
+ )
74
+ }
70
75
return commandExecutor . beforeCommand ( this . command ) . then ( ( ) => {
71
76
return this . _executeCommand (
72
77
commandExecutor ,
@@ -107,10 +112,6 @@ export class CommandNode {
107
112
throw new Error ( `Unknown command ${ this . command . command } ` )
108
113
} else if ( this . isControlFlow ( ) ) {
109
114
return this . _evaluate ( commandExecutor )
110
- } else if ( this . isTerminal ( ) ) {
111
- return Promise . resolve ( {
112
- result : 'success' ,
113
- } )
114
115
} else if (
115
116
this . isWebDriverCommand ( commandExecutor ) ||
116
117
this . isExtCommand ( commandExecutor )
You can’t perform that action at this time.
0 commit comments