Closed pradeep-thawani closed 7 years ago
Hi @pradeep-thawani
Thank you for raising this. I've built a snapshot containing a fix to preserve the propagated evaluation status. Please try it out using the snapshot build below and let me know how it goes.
Hi @bjuric The snapshot build works as expected. Thanks.
<step> <until|while> <condition>
Repeatedly performs the given step until or while a condition is satisfied, using default delay and timeout periods. The default delay between iterations is one tenth of the configured gwen.web.wait.seconds setting (or 1 second if not set) The default timeout period is 30 times the delay.
<step>
= the step to repeat<condition>
= the name of the bound attribute containing a javascript predicate expressionAbove is the dsl definition.
Below works fine:
But when I instead of comparing countvar with a hard-codded value in the predicate, I compare it with a parameter. Something like this:
In the above case, positive scenario runs successfully but when I try negative scenario, it retries for stated timeout and then displays a message saying that expected condition failed. But the final status of scenario comes as Passed.
PFA output log: UntilFailure.txt