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

Create Behat directive Then the field with xpath "FIELDXPATH_STRING" matches value "FIELD_VALUE_STRING"

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      RUN:
      vendor/bin/behat --config /home/rajesh/moodles/m/moodledata/postgres_behat/behat/behat.yml --name "Verify that all form fields values can be get and set"

      Show
      RUN: vendor/bin/behat --config /home/rajesh/moodles/m/moodledata/postgres_behat/behat/behat.yml --name "Verify that all form fields values can be get and set"
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      wip-mdl-50940

      Description

      There is a function:
      Given I set the field with xpath "FIELDXPATH_STRING" to "FIELD_VALUE_STRING"

      and a function:
      Then the field "FIELD_STRING" matches value "FIELD_VALUE_STRING"

      So really there should be a function:
      Then the field with xpath "FIELDXPATH_STRING" matches value "FIELD_VALUE_STRING"
      to allow you to check the value of form fields based targeted by xpath

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15