Add unit tests/component testing of WebvizDialog-component
Test:
- Unit test functionality
- Dragging/Panning of component
- Resize of window/view portal to verify resize
Possible Frameworks:
- Cypress
- Used in
webviz-subsurface-components with end-to-end testing of Storybook) - a goto framework for Emerson?
- Seems to be dependent on object/elements for drag/pan - i.e. no direct mouse interaction on x- and y-coordinates?
- E.g. activate mouse down on one element and activate mouse up on another element - a way of testing drag/drop from a source tree to another container (HTMLElement)
- Playwright
- Seems to have better drag/pan interaction
- Can utilize bounding client of objects to get position HTML elements and perform mouse interaction with the respective positions
Add unit tests/component testing of
WebvizDialog-componentTest:
Possible Frameworks:
webviz-subsurface-componentswith end-to-end testing of Storybook) - a goto framework for Emerson?