Releases: milankinen/cuic
Releases · milankinen/cuic
1.1.0
1.0.0-RC2
- Renamed cuic.protocolnamespace tocuic.chrome.protocolto unify (probably) upcoming Firefox support
- Added JavaScript dialog support cuic.core/on-dialog
- Accept browser as a context in c/findandc/query
- Various documentation improvements + multi-browser example
1.0.0-RC1
Snapshot version of the fourth generation, entirely rewritten based on the lessons learned.
- Separated findandqueryfromq- findfor single elements, has implicit waiting for element existence
- queryfor 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.testerror reporting
- Removed snapshot test utils
- Internals built with direct websocket access instead of generated Java API
0.5.0
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: waitandis*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.coretocuic.browser
- Moved testing related configurations to cuic.test- *snapshot-dir*
- *screenshot-dir*
 
- Added deftest*macro tocuic.testin order to improve error handling reporting in tests
- Removed auto-screenshot from wait timeouts and moved that responsibility to deftest*
- Moved cuic.coreconfigurations into separate variables- *timeout*
- *typing-speed*
 
- Moved "click check" behind experimental flag cuic.core/*experimental-features*(disabled by default)
- Unified cuic.replutility function namings
- Updated dependencies to the newest versions
0.4.2
- Added custom typing speed support
- Renamed cuic.devtocuic.repl
- Improved documentation
0.4.1
- Fixed some broken mutations
0.4.0
Second iteration, trying to fix the encountered problems and developer confusion:
- Removed with-retrymacro because nobody didn't know how to use it
- Changed mutation functions (such as click!) from functions to macros and added implicitwaitfor 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
First version used in "production"