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

Behat: Add step to check text in a form

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Occasionally, forms will show information without

      Either this step could be modified

      And the static field "Grade category" matches value "Grade category 1"

      Or a step could be added, maybe something like

       And the static field "Grade category" matches value "Grade category 1"

      This is a rough xpath equivalent:

      And "//div[contains(@class, 'fitem')]/div[contains(@class, 'fitemtitle')]/div[contains(@class, fstaticlabel) and contains(., 'Grade category')]/../../div[contains(@class, 'felement') and contains(., 'Grade category 1')]" "xpath_element" should exist
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              johno John Okely
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: