Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jorgenherje opened this issue Nov 17, 2022 · 0 comments
Open

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

jorgenherje opened this issue Nov 17, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@jorgenherje
Copy link
Collaborator

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
@jorgenherje jorgenherje added the enhancement New feature or request label Nov 17, 2022
@jorgenherje jorgenherje self-assigned this Nov 17, 2022
@jorgenherje jorgenherje added this to Backlog 📝 in Webviz via automation Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 📝
Webviz
  
Backlog 📝
Development

No branches or pull requests

1 participant