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

Replace all behat "I am on course" + "I follow activity link" with "I am on activity page" step

XMLWordPrintable

    • MOODLE_400_STABLE
    • Moppies Kanban

      During the implementation of the course index (MDL-71209) many old behats stop working due to a pattern that is repeated over and over in the tests (comment link):

      • And I am on "Course 1" course homepage (with editing mode on)
      • And I follow "Activity name"

      Becuase of the course index implementation now all those steps need to specify the link is located in the course content and all the cases are now:

      • And I am on "Course 1" course homepage (with editing mode on)
      • And I follow "Activity name" in the course content

      The good thing about this new step is that now we can detect all the cases and we could replace them with the new steps:

      • I am on IDNUMBER Activity page
      • I am on IDNUMBER Activity page logged in as USER.

      This task will be much easier when MDL-72125 is integrated because generators will assign name as idnumber in case no idnumber is provided.

      When all behat tests are fixed, we could evaluate if we want to keep the new "I follow XXX in the course content" for other purposes or not.

       

            Unassigned Unassigned
            tusefomal Ferran Recio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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