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

Behat: Add step to check text in a form

XMLWordPrintable

    • MOODLE_28_STABLE

      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
      

            Unassigned Unassigned
            johno John Okely
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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