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 testing for file drag and drop upload #652

Open
lilachic opened this issue Feb 3, 2022 · 1 comment
Open

Add testing for file drag and drop upload #652

lilachic opened this issue Feb 3, 2022 · 1 comment
Assignees

Comments

@lilachic
Copy link
Contributor

lilachic commented Feb 3, 2022

Description

This is for adding testing for file drag and drop upload, continuation for #324

DoD (Definition of Done)

Test are in place either unit test for the component in Jest or

Testing

Jest or Cypress or both

@lilachic lilachic self-assigned this Feb 7, 2022
@lilachic
Copy link
Contributor Author

Plan is to do unit test for upload form first . First thoughts :

  • dragging over a dropZone should highlight the drop zone
  • dragging out of the container should clear any active drop zones
  • dropping the file should add the file object to the field watched by form hook
    • Call dataTransfer
  • -There is fileObject

@blankdots blankdots added this to the 0.12.0 milestone Feb 28, 2022
@juhtornr juhtornr removed this from the 0.12.0 milestone Mar 14, 2022
@juhtornr juhtornr assigned rquazi and unassigned rquazi Apr 8, 2022
@juhtornr juhtornr added this to the Sprint 29/04 milestone Apr 12, 2022
@ainoc ainoc modified the milestones: Sprint 29/04, Sprint 13/05 May 2, 2022
@genie9 genie9 removed this from the Sprint 13/05 milestone May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants