Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68758

The 'Download selected files' button should only display in the 'Display folder with file details' view

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68758-master
    • Hide

      Prerequisites:

      1. Login as admin
      2. Go to the user's private files.
      3. Add/upload the following file structure
        1. 2 files (File1 and File2) AND
        2. A folder(FolderA) with another 2 files (File3 and File4) in it AND
        3. Another folder (FolderB) with 1 file (File5).

      Testing:

      1. Log in as admin
      2. Go to the user's private files.
      3. In the icon view, hover over the download button and confirm the text says 'Download'
      4. Click the download buttonĀ and confirm you get a zip file with all the files listed in the current view (FolderA, FolderB, File1 and File2)
      5. Go into FolderA, by clicking onto it.
      6. Click the download button and confirm that you get a zip file only containing the folder's content(File2 and File3).
      7. Repeat #3-#6, with file detail and tree views.
      8. Click on file detail view and go to the root location(if not in it already)
      9. Select all the files using the checkbox in the header
      10. Assert #4
      11. Enabled the checkbox against FolderA
      12. Assert #6
      13. In file detail view, hover over the delete button and confirm the text says 'Delete'
      14. In file detail view, test the following situations and assert downloaded column:
        Current location Selected Downloaded
        Root Folder A and File1 Only Selected
        Root Folder A Only Selected
        Root Folder A and Folder B Only Selected
        FolderA (nothing selected) All files in folder
      Show
      Prerequisites: Login as admin Go to the user's private files. Add/upload the following file structure 2 files (File1 and File2) AND A folder(FolderA) with another 2 files (File3 and File4) in it AND Another folder (FolderB) with 1 file (File5). Testing: Log in as admin Go to the user's private files. In the icon view, hover over the download button and confirm the text says 'Download' Click the download buttonĀ and confirm you get a zip file with all the files listed in the current view (FolderA, FolderB, File1 and File2) Go into FolderA, by clicking onto it. Click the download button and confirm that you get a zip file only containing the folder's content(File2 and File3). Repeat #3-#6, with file detail and tree views. Click on file detail view and go to the root location(if not in it already) Select all the files using the checkbox in the header Assert #4 Enabled the checkbox against FolderA Assert #6 In file detail view, hover over the delete button and confirm the text says 'Delete' In file detail view, test the following situations and assert downloaded column: Current location Selected Downloaded Root Folder A and File1 Only Selected Root Folder A Only Selected Root Folder A and Folder B Only Selected FolderA (nothing selected) All files in folder
    • 1
    • Path to glory

      As found when testing MDLQA-14380:

      Steps to reproduce:

      1. Log in as a user and add a few files and folders to your private files area.
      2. Save changes.
      3. Check the different views, 'Display folder with file icons', 'Display folder with file details' and 'Display folder as file tree' and make a note of which views the 'Download selected files' button is displayed in, and which views have select boxes.

      Expected result: The 'Download selected files' button only displays in the 'Display folder with file details' view, where there are select boxes (as for the Delete button).

      Actual result: The 'Download selected files' button is displayed in all views, which is confusing because there are no select boxes in two of the views.

            peterdias Peter Dias
            tsala Helen Foster
            Mihail Geshoski Mihail Geshoski
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 5 minutes
                5h 5m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.