MozillaQualityAssurance:Scratchpad:Places:DnD: Difference between revisions
No edit summary |
|||
| Line 31: | Line 31: | ||
Here are some specific cases from [[https://bugzilla.mozilla.org/show_bug.cgi?id=332047#c4|Bug 33204]]: | Here are some specific cases from [[https://bugzilla.mozilla.org/show_bug.cgi?id=332047#c4|Bug 33204]]: | ||
* Select Item A, and drag it up/down a few places by steps of 1. | |||
Item A should remain selected during the dragging process. | Item A should remain selected during the dragging process. | ||
* Select Item A, and drag it into the empty white area of the tree (make sure the window is larger than the contents of the tree. | |||
Item A is no longer selected, but is dropped at the end of the tree. (?) | Item A is no longer selected, but is dropped at the end of the tree. (?) | ||
* Select Items A and B, and drag them up and down a few places by steps of 1. | |||
Items A and B should remain selected during the dragging process. | Items A and B should remain selected during the dragging process. | ||
* Select Items A and D, and drag them up or down a few places by steps of 1. | |||
Items A and D should be dropped next to each other, and selected. | Items A and D should be dropped next to each other, and selected. | ||
* Select Items A and D, and drag them in between Items B and C. | |||
Items A and D should now be next to each other, selected, and in between Items B and C. | Items A and D should now be next to each other, selected, and in between Items B and C. | ||
* Given a folder with items A, B, and C inside, followed by Items D and E outside the folder, drag Item B out of the folder and in between Items D and E. | |||
Item B should still be selected. | Item B should still be selected. | ||
* Drag Item A, from Folder A, and drop it onto Folder B. | |||
Since Item A is inserted at index = -1 inside Folder B, nothing is selected, and Item A is dropped at the bottom of Folder B. | Since Item A is inserted at index = -1 inside Folder B, nothing is selected, and Item A is dropped at the bottom of Folder B. | ||
* Drag Item A, from inside Folder A to someplace inside Folder B. | |||
Item A is still selected. | Item A is still selected. | ||
* Drag Items A and B, inside their respective Folders A and B, somewhere into the tree of the parent folder. | |||
Items A and B should be next to each other, on the same level as Folders A and B, and selected. | Items A and B should be next to each other, on the same level as Folders A and B, and selected. | ||
Revision as of 21:32, 6 August 2007
Drag 'N Drop Test Case Ideas
We need to expand the number of DnD cases for Firefox 3.
We should break these out by **Bookmarks Sidebar** and **Bookmarks Manager** cases. You can do a lot of stuff with the sidebar but not everything.
We need to consider the **Bookmarks Toolbar** as well.
Issues from Bugs
Dragging and dropping multiple items causes order of items to reverse. - **Test Case 4524**
- Select two or more bookmark items in the Bookmarks Manager
- Drag selection up (or down)
---
Drag and Drop bookmark and non-bookmark items in Bookmarks Manager - **Test Case 4526**
- Open the Bookmarks Manager.
- Arrange bookmarks so that you can select two or more items in a row including a bookmark, a folder, or a separator.
- Select two or more of these items.
- Drag selection up or down.
Verify:
- Verify that both items are dragged together.
- Verify that the ordering of the items is maintained.
---
List of Other Proposed Cases
Here are some specific cases from [33204]:
- Select Item A, and drag it up/down a few places by steps of 1.
Item A should remain selected during the dragging process.
- Select Item A, and drag it into the empty white area of the tree (make sure the window is larger than the contents of the tree.
Item A is no longer selected, but is dropped at the end of the tree. (?)
- Select Items A and B, and drag them up and down a few places by steps of 1.
Items A and B should remain selected during the dragging process.
- Select Items A and D, and drag them up or down a few places by steps of 1.
Items A and D should be dropped next to each other, and selected.
- Select Items A and D, and drag them in between Items B and C.
Items A and D should now be next to each other, selected, and in between Items B and C.
- Given a folder with items A, B, and C inside, followed by Items D and E outside the folder, drag Item B out of the folder and in between Items D and E.
Item B should still be selected.
- Drag Item A, from Folder A, and drop it onto Folder B.
Since Item A is inserted at index = -1 inside Folder B, nothing is selected, and Item A is dropped at the bottom of Folder B.
- Drag Item A, from inside Folder A to someplace inside Folder B.
Item A is still selected.
- Drag Items A and B, inside their respective Folders A and B, somewhere into the tree of the parent folder.
Items A and B should be next to each other, on the same level as Folders A and B, and selected.
and from [381751]:
Testing single DnD scenarios:
- Drag from one position to another within the root folder
- Drag a bookmark one position up
- Drag a bookmark one position down
- Drag a bookmark two positions up
- Drag a bookmark two positions down
- Drag multiple bookmarks -- broken in mac, linux, see bug #336214
-
- Drag from one position to the bottom within the root folder
- Drag from the bottom to some position within the root folder
-
- Drag from one position to another within a subfolder
- Drag from one position to the bottom of a subfolder*
- Drag from the bottom of a subfolder to some position
- Drag from one position to the top of a subfolder*
- Drag from the top of a subfolder to some position
-
- Drag from the root folder to the middle of a subfolder
- Drag from the root folder to the top of a subfolder*
- Drag from the root folder to the bottom of a subfolder*
-
- Drag from subfolder A to subfolder B (any)
- Drag from the top of subfolder A to the bottom of subfolder B*
- Drag from the bottom of subfolder A to the top of subfolder B*