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

Improve behat performance by jumping straight to editing on mode

    XMLWordPrintable

Details

    Description

      We have a step:

      And I am on "Course 1" course homepage with editing mode on
      

      At the moment this step is crazy slow because it opens the page
      Looks for one type of course editing menu (for Classic)
      Fails to find it and then looks for the Boost one
      Opens the dropdown
      Presses Turn editing on

      The way in which we use this step means that we don't really need to prove this works because we do so in specific steps.
      We can just jump straight to the correct URL.

      We do need to look up the sesskey from the current session (a little bit icky but not too bad) and that's it.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Adrian Greeve Adrian Greeve
              CiBoT CiBoT
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours, 15 minutes
                  1d 3h 15m