@clds/e2e
v0.38.0
Published
---
Downloads
111
Readme
@clds/e2e
Mixins
This package contains common E2E factories (mixins) that can be used when creating agnostic E2E drivers.
Each factory can add one or more functions to the driver, those functions can be used later to interact with the relevant component
** mixins that do not return any value can be concat in the following way:**
import { makeClickable } from '@clds/e2e-ds-utils';
const createDriver = <A, B>(adapter: Adapter<A, B>) => {
const selector = 'div[data-test="our-component"]' as const;
return {
...makeClickable(adapter, selector),
selector,
};
};
Drivers
This package contains e2e drivers for all the components as well
Versioning
This library follows Semantic Versioning.
License
See LICENSE