Skip to content

Releases: milankinen/cuic

1.1.0

19 May 15:11
d2701cf
Compare
Choose a tag to compare
  • Added support for mouse click key modifiers

1.0.0-RC2

25 Dec 19:53
7f2bd85
Compare
Choose a tag to compare
  • Renamed cuic.protocol namespace to cuic.chrome.protocol to unify (probably) upcoming Firefox support
  • Added JavaScript dialog support cuic.core/on-dialog
  • Accept browser as a context in c/find and c/query
  • Various documentation improvements + multi-browser example

1.0.0-RC1

23 Nov 22:20
d60fc8f
Compare
Choose a tag to compare

Snapshot version of the fourth generation, entirely rewritten based on the lessons learned.

  • Separated find and query from q
    • find for single elements, has implicit waiting for element existence
    • query for multiple elements, no wait
  • Built-in query scoping
  • Improved error messages
  • Implicit visibility / interactivity waits on actions (e.g. clicked element must be visible and enabled)
  • Comprehensive documentation
  • Improved cuic.test error reporting
  • Removed snapshot test utils
  • Internals built with direct websocket access instead of generated Java API

0.5.0

11 Jun 17:49
694df7b
Compare
Choose a tag to compare

Third "production" iteration based on the following observation: if there is any implicit waiting (aka "magic"), people stop thinking about the asynchronous behaviour of UI, eventually producing fragile and non-deterministic tests.

  • Removed all implicit waits and retries: wait and is* are the only ones that are allowed to wait/retry
  • Changed mutations (e.g. click!) back to functions and removed 0-arity selector function support
  • Separated browser launching from cuic.core to cuic.browser
  • Moved testing related configurations to cuic.test
    • *snapshot-dir*
    • *screenshot-dir*
  • Added deftest* macro to cuic.test in order to improve error handling reporting in tests
  • Removed auto-screenshot from wait timeouts and moved that responsibility to deftest*
  • Moved cuic.core configurations into separate variables
    • *timeout*
    • *typing-speed*
  • Moved "click check" behind experimental flag cuic.core/*experimental-features* (disabled by default)
  • Unified cuic.repl utility function namings
  • Updated dependencies to the newest versions

0.4.2

11 Jun 17:36
f8b5426
Compare
Choose a tag to compare
  • Added custom typing speed support
  • Renamed cuic.dev to cuic.repl
  • Improved documentation

0.4.1

11 Jun 17:35
118aa92
Compare
Choose a tag to compare
  • Fixed some broken mutations

0.4.0

11 Jun 17:34
336e5bc
Compare
Choose a tag to compare

Second iteration, trying to fix the encountered problems and developer confusion:

  • Removed with-retry macro because nobody didn't know how to use it
  • Changed mutation functions (such as click!) from functions to macros and added implicit wait for all of them
  • Added click check to simulate "oops I misclicked" behaviour to click!
  • Added disabled? function
  • Added support to use 0-arity functions as mutation selectors

0.3.2

11 Jun 17:25
4b62282
Compare
Choose a tag to compare

First version used in "production"