Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17361

CLONE - Approval status is displayed in database entries

    XMLWordPrintable

Details

    Description

      Setup:

       * Create a 3 database activity D1-image, D1-proposals and D1-journal in any course.
       * For each activity, make sure that the settings Entries/Approval required is set to Yes
       * In the zero state page of D1-image, select use preset and select "Image gallery"
       ** Use the default mapping and continue
       ** Create at least 2 entries
       ** Unapprove the second entry by using the kebab menu
       * In the zero state page of D1-journal, select use preset and select "Journal"
       ** Use the default mapping and continue
       ** Create at least 2 entries
       ** Unapprove the second entry by using the kebab menu
       * In the zero state page of D1-proposals, select use preset and select "Proposals"
       ** Use the default mapping and continue
       ** Create at least 2 entries
       ** Unapprove the second entry by using the kebab menu

      For each database activity:

      As a student:

       * Create an entry
       *  Unapprove the second entry by using the kebab menu
       * Ensure that there are no "Approved" label
       * Ensure that a student can only see:
            **  his entries,
            **  approved entries from other users (so Entry 1 created in the setup but not Entry 2 which is unapproved)
            **  his own unapproved entries (the one just created now)
       * Ensure that the "Pending approval" label is on the newly created entry
       * Look the single view for each entry and ensure that the "Pending approval" label is shown on the unapproved entry.
       * Check that the layout is ok and the labels are aligned vertically (the "Pending approval" label and the Kebab menu)

      As a teacher:
       * Ensure that there are no "Approved" label is on the first entry
       * Ensure that the "Pending approval" label is on the second entry
       * Look the single view for each entry and ensure that the "Pending approval" label is shown on the unapproved entry.
       * Check that the layout is ok and the labels are aligned vertically (the "Pending approval" label and the Kebab menu)
       * Approve the second entry by using the kebab menu
       * Ensure that the "Pending approval" label cannot be seen anymore on the second entry

      Attachments

        Issue Links

          Activity

            People

              ilyatregubov Ilya Tregubov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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