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

The 'I follow "Preferences" in the user menu' step requires JS unnecessarily

    XMLWordPrintable

Details

    • Team Beards Sprint 10

    Description

      Discovered while looking at MDL-51088, the step for 'I follow "x" in the user menu' requires JS unnecessarily.

      The user menu is displayed regardless of whether JS is available, but with JS the menu is collapsed and must first be opened.

      The step actually consists of:

              $steps[] = new When('I click on "'.$xpath.'" "xpath_element"');
              $steps[] = new When('I click on "'.$nodetext.'" "link" in the "'.$csspath.'" "css_element"');
      

      When JS is enabled, we need both, but when it is not, we only need the second step.

      We also need to identify all locations which use this step and remove the javascript tag if they do not require it any longer.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Rajesh Taneja Rajesh Taneja
              David Monllaó David Monllaó
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/15