This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-18
Channels
- # announcements (4)
- # babashka (2)
- # beginners (72)
- # calva (2)
- # cider (18)
- # clj-kondo (30)
- # cljs-dev (2)
- # clojure (106)
- # clojure-austin (2)
- # clojure-europe (17)
- # clojure-italy (6)
- # clojure-nl (4)
- # clojure-uk (109)
- # clojurescript (31)
- # cursive (6)
- # data-science (2)
- # datomic (30)
- # events (1)
- # fulcro (20)
- # graphql (4)
- # jobs (2)
- # joker (8)
- # kaocha (2)
- # meander (31)
- # off-topic (1)
- # pathom (53)
- # re-frame (22)
- # reitit (1)
- # shadow-cljs (26)
- # specter (2)
- # sql (20)
- # testing (2)
- # tools-deps (2)
- # tree-sitter (1)
- # xtdb (20)
- # yada (6)
hello, firstly thanks for kaocha. i was sceptical at first but once you get to know it it's a big step up from clojure.test
i wonder if anyone could help me with what i'm trying to achieve. we are using kaocha to run some browser tests via chrome devtools protocol, and i want to capture a screenshot whenever an assertion fails or an exception is thrown. assertion failing i achieved using a reporter and installing a defmethod for :kaocha/fail-type
and i thought i could do the same for :error
but it is called outside the stack from where the exception happened, which means that i can't access the browser anymore to take the screenshot