Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-6669

A teacher can delete multiple entries from a database

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Critical
    • Original - DO NOT REPORT TEST RESULTS HERE
    • None
    • None

    Description

      1. Log in to a course as a teacher and create a database activity.
      2. Add two fields
      3. Add three entries.
      4. Go to Templates and edit List view adding "##delcheck##" to the "Repeated entry" textarea
      5. On the list view, verify you see a checkbox on every entry.
      6. Test the "select all" and "deselect all" buttons to make sure that they work as expected.
      7. Click into two of the three boxes
      8. At the bottom of the list should be a button saying "Delete selected"
      9. After clicking the "Delete selected" button you should be taken to a confirmation page.
      10. Click cancel and make sure that you are taken back to the list view.
      11. Try again but this time confirm the delete and ensure that the entry has been deleted.
      12. Log in as a student and view the list view page. Make sure that as a student there are no check boxes or buttons to delete the entries.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: