katalon-studio / katalon-recorder

Apache License 2.0
315 stars 140 forks source link

within if else storeEval executes no matter what in firefox #118

Open SondreRopstad opened 1 year ago

SondreRopstad commented 1 year ago

In firefox, if I make a make use of an if else statement containing storeEval the storeEval statement will be executed even if the if statement's condition is not met. Example: image Result: image image

As can be seen here, as expected the only text that was echoed out of "Within else" and "Within if" was "Within else", however, even though the if condition was not met, storeEval ran and increased the value of thisShouldBe1 from 1 to 2.

When executed on chrome, it works as intended: image