Well, I do have assertions with etaoin 😄. Most of the time, I await for a text then use nubank/matcher-combinators to check for more info (that's what the check
macro is doing - it adds an (is (match...))
, but in a way that works for ClojureScript too): https://github.com/mauricioszabo/atom-chlorine/blob/master/integration/chlorine-tests/test/chlorine/tests.clj
I also have auxiliary functions line inline-text
that await for an element to appear, then to change, then returns its internal text :)