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

I set the field with xpath exception throw is wrong

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide
      1. Make a behat scripts that does I set the field with xpath with a broken xpath.
      2. Run it.
      3. Verify that the an error message is displayed.

      (Before it was saying:

      01. Catchable Fatal Error: Argument 1 passed to behat_forms::i_set_the_following_fields_to_these_values() must be an 
      instance of Behat\Gherkin\Node\TableNode, none given in
      C:\Users\tjh238\workspace\ouvle2\lib\tests\behat\behat_forms.php line 70
      

      Show
      Make a behat scripts that does I set the field with xpath with a broken xpath. Run it. Verify that the an error message is displayed. (Before it was saying: 01. Catchable Fatal Error: Argument 1 passed to behat_forms::i_set_the_following_fields_to_these_values() must be an instance of Behat\Gherkin\Node\TableNode, none given in C:\Users\tjh238\workspace\ouvle2\lib\tests\behat\behat_forms.php line 70

      ElementNotFoundException does not take a single string. I'll fix this.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Jason Platts Jason Platts
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Ankit Agarwal Ankit Agarwal
            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.