This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-22
Channels
- # anglican (2)
- # announcements (8)
- # babashka (37)
- # beginners (13)
- # calva (16)
- # clj-kondo (20)
- # cljdoc (1)
- # cljsrn (3)
- # clojure (6)
- # clojure-europe (3)
- # clojurescript (3)
- # clojureverse-ops (3)
- # conjure (1)
- # core-async (9)
- # cursive (6)
- # cypress (2)
- # datomic (5)
- # fulcro (1)
- # honeysql (15)
- # luminus (2)
- # malli (35)
- # music (3)
- # nbb (1)
- # off-topic (7)
- # pathom (12)
- # practicalli (1)
- # re-frame (15)
- # reagent (37)
- # sci (9)
- # shadow-cljs (3)
- # show-and-tell (3)
- # spacemacs (3)
- # workspaces (3)
Hi! I put out 0.2.0 of cypress-clojurescript-preprocessor, with initial support for running a cljs repl inside the Cypress test runner via shadow-cljs: https://github.com/viesti/cypress-clojurescript-preprocessor#repl-in-cypress Might be that there's still some rough edges, but at least it is out there for hacking now 🙂 Also, finally found a way to properly kill child processes of the preprocessor 🧟
@U06QSF3BK The git tag 0.2.0
is missing
What has been you experience using a repl in cypress? We're kinda doing the same for one of our projects, and the now
API proved to be a nightmare to work with - lots of things that don't work as expected or break with cypress version bumps...
These are the same concerns that I had in mind also, and good to know that there is someone with actual knowledge to back this up :) I have to confess that I haven't yet used the "now" command in a real project, my interest was mainly to pursue what is possible and see where it takes me :)
Yes, I had more success with not using now
at all and using (-> cy .-queue .run)
to "force" the running of the queue (needs newest cypress version)
But even then, it's quite strange... I was thinking about re-creating the facilities of Cypress over Etaoin, for example, so REPL-Driven browser driving could be a first-class thing
yeah, having good repl for browser testing would be like holy grail :) Cypress has good stuff but annoying this lack of repl, but was positively surprised that someone used the term "repl" in Cypress github issue even :) https://github.com/cypress-io/cypress/issues/8195