Skip to content

Add unit test/component testing of WebvizDialog-component #279

@jorgenherje

Description

@jorgenherje

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Backlog 📝

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions