Bug #18169
closedWB2 drag and drop: cancel button not working
Added by Daniel Kutyła about 3 years ago. Updated almost 3 years ago.
Description
"When I want to cancel the upload the button is not clickable."
Files
Cancelling soon-to-be-uploaded item first.mov (3.59 MB) Cancelling soon-to-be-uploaded item first.mov | Lucas Di Pentima, 11/08/2021 08:55 PM | ||
cancelled uploads failure take 2.mov (2.17 MB) cancelled uploads failure take 2.mov | Lucas Di Pentima, 11/19/2021 03:44 PM |
Related issues
Updated by Peter Amstutz about 3 years ago
- Target version set to 2021-10-13 sprint
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-10-13 sprint to 2021-09-29 sprint
Updated by Peter Amstutz about 3 years ago
- Related to Bug #16655: Upload speed indicator shows wrong information added
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-09-29 sprint to 2021-10-13 sprint
Updated by Daniel Kutyła about 3 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-10-13 sprint to 2021-10-27 sprint
Updated by Daniel Kutyła about 3 years ago
New version first commit: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/0fab1ce0739811ff8bc02488d32aa2ad184c7b1e
Test run: developer-tests-workbench2: #499
Branch: 18169-cancel-button-not-working
Removed disable of cancel button when uploading
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-10-27 sprint to 2021-11-10 sprint
Updated by Lucas Di Pentima about 3 years ago
- File Cancelling soon-to-be-uploaded item first.mov Cancelling soon-to-be-uploaded item first.mov added
- I think it would be beneficial to have some testing for this.
- When clicking the trashcan button of the item being uploaded, the dialog gets automatically closed. I think this may not be what the user expects, in the case of fixing a mistake. If the user wants to cancel the entire upload task, they could click the CANCEL button.
- When the dialog is closed because of canceled uploads, there's a "toast" message about "Data has been uploaded." This can be confusing because what happened is the opposite. If the previously commented issue is solved, I think this won't happen.
- When uploading more than one item, and in the middle of an upload, I cancel the 2nd item, and then the one it's being uploaded, the dialog gets into a state that doesn't get closed, but the upload button shows progress being made. If you wait for it enough, the background upload gets completed but doesn't get reflected on the collection. See attached video for better detail.
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-11-10 sprint to 2021-11-24 sprint
Updated by Daniel Kutyła about 3 years ago
New version first commit: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/d8f669aadc5f3d7241395abd6aa764406079d7d3
Test run: developer-tests-workbench2: #512
Branch: 18169-cancel-button-not-working
Applied post review changes, added tests
Updated by Daniel Kutyła about 3 years ago
Test run: developer-tests-workbench2: #514
Updated by Lucas Di Pentima about 3 years ago
Some comments:
- About the cypress tests: I think it would be super helpful that the test waits for the uploads to complete and then confirm that the file is listed on the collection panel; what do you think? Also, on the "cancel a single file" test, ensure that the canceled file isn't listed.
- Another thought about the tests: Do we need the
wait()
calls? The assertions already wait for a certain time, and I think if there's a need for an extended assertion wait, it's cleaner to add a timeout to thecy.get()
call (https://docs.cypress.io/api/commands/get#Arguments) as we did onloginAs()
withcy.url()
? - The toast issue commented above is still happening.
- The multi-file uploading & canceling issue mentioned above still is happening. Still, now one of the canceled items gets saved on the collection (see new video) -- I think this could have been detected earlier with a complete test.
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2021-11-24 sprint to 2021-12-08 sprint
Updated by Daniel Kutyła almost 3 years ago
New version first commit: https://dev.arvados.org/projects/arvados-workbench-2/repository/revisions/e3ca6297f8ec9f3504074291ce6cd10babeb69bf
Test run: developer-tests-workbench2: #519
Branch: 18169-cancel-button-not-working
Post review changes
Updated by Daniel Kutyła almost 3 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench-2:arvados-workbench2|6e4b23e9a99ab64e25c60a128e6beb4fa8636374.