Releases: milankinen/cuic
Releases · milankinen/cuic
1.1.0
1.0.0-RC2
- Renamed
cuic.protocol
namespace tocuic.chrome.protocol
to unify (probably) upcoming Firefox support - Added JavaScript dialog support
cuic.core/on-dialog
- Accept browser as a context in
c/find
andc/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
find
andquery
fromq
find
for single elements, has implicit waiting for element existencequery
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
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
andis*
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
tocuic.browser
- Moved testing related configurations to
cuic.test
*snapshot-dir*
*screenshot-dir*
- Added
deftest*
macro tocuic.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
- Added custom typing speed support
- Renamed
cuic.dev
tocuic.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-retry
macro because nobody didn't know how to use it - Changed mutation functions (such as
click!
) from functions to macros and added implicitwait
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
First version used in "production"