element icon indicating copy to clipboard operation
element copied to clipboard

step.while() no longer working

Open angrygreenfrogs opened this issue 4 years ago • 6 comments

I'm using the latest Element as from today 1.3.8 (yarn global upgrade element-cli)

step.while() runs once but does not repeat

Reproducible even using the example code from Github:

https://github.com/flood-io/element/blob/master/examples/condition/test.ts

element run test.ts
+62s info: ===> Step 'Step 5'
Step 5
+62s info: ---> Step 'Step 5' finished in 1ms

The text "Step 5" should be output 3 times from the example code, but it's only output once.

angrygreenfrogs avatar Oct 21 '20 15:10 angrygreenfrogs

thank @angrygreenfrogs , we will have a look and release the fix in the next version.

phileba avatar Oct 28 '20 02:10 phileba

In version 1.3.9 is not working either...do you have any plan on fixing this? unless is not working either

cjpablo92 avatar Dec 30 '20 20:12 cjpablo92

Hi @cjpablo92, we plan to release a fix in version 1.4. But this issue has been fixed in the latest element beta.

phileba avatar Jan 04 '21 03:01 phileba

Hi @cjpablo92, we plan to release a fix in version 1.4. But this issue has been fixed in the latest element beta.

Great Thanks!

cjpablo92 avatar Jan 06 '21 15:01 cjpablo92

What's the status of this fix? I'm using 2.0.4 and still getting this behaviour.

I found #333 but can't see any sign of it in beta or canary

dnch avatar Jul 12 '21 12:07 dnch

Same for me in 2.0.4 - step.while runs once, but does not repeat (even with () => true as condition).

fhitb avatar Apr 21 '23 12:04 fhitb