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

Useless tests scenarios on pages

XMLWordPrintable

      On mod/page/tests/behat/page_activity_completion.feature

      There are 2 scenarios that pass but they are completely wrong:

      • Scenario: The manual completion button will not be shown on the course page if the Show activity completion conditions is set to No as teacher
      • Scenario: The manual completion button will not be shown on the course page if the Show activity completion conditions is set to No as student

      They use the Course 2 described on Background but the student and the teacher are not enrolled so they go to the enrolment page where logically the completion buttons don't exist.

      Additionally they are navigating to the page activity and the test relates to course page, so they should navigate to course page where the buttons should not be there.

            andelacruz Angelia Dela Cruz
            pferre22 Pau Ferrer
            Andrew Gosali Andrew Gosali
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 2 hours, 51 minutes
                3d 2h 51m

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