To be honest, I’m not really sure what the answer is here. Would love to
know though. You can hook into the re-frame event queue if you want. I’d
probably be leaning towards Selenium/Karma, but I don’t really know enough
to say. Would be interested to hear your results!

On Fri, May 27, 2016 at 6:38 AM keegan myers <keeganmyers...@gmail.com>
wrote:

> I'm interested in the idea of an async test but I am a little unclear how
> it could be implemented. More specifically If I have a component which has
> been render using cljs-react-test.utils. So I call new-container to give me
> a dom root then reagent/render-component on the component in question. At
> that point I make some arbitrary changes to fields using react simulated
> events. Then I should be able to click the submit button on the component
> in question via sim/click. But the submit handler dispatches other
> functions that don't seem to be executed.
>
> Would it be easier if I looked through re-frame's source and found the
> actual queue then either made assertions against its contents, or forced
> the queue to be processed? Or would I be better severed placing these types
> of tests in an integration test suit and run them with selenium or karma.
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.
>
-- 
—
Daniel

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to