Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38012 META: Simplify moodle forms
  3. MDL-39421

Fix broken functional tests (conflicts between form section names and buttons)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Forms Library
    • None
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE

      Recently simple forms sections began to use a tags with role='button' for the sections expand/collapse links, some of those section names have the same name of the buttons to submit the forms, examples of this are:

      • mod_wiki -> create new page
      • mod_lesson -> add new question

      This is breaking some functional tests, as behat named selectors finds and clicks on the first button with the requested name, including tags with role=button

            fred Frédéric Massart
            dmonllao David Monllaó
            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.