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

Constant behat failure against Oracle DB

    XMLWordPrintable

    Details

      Description

      I'm getting this error, all the time, both with firefox and chrome, mac, against Oracle DB, Moodle 2.9.0 release.

      $ vendor/bin/behat --config /Users/stronk7/Sites/moodle_data_gittesting/master/oracle_behat/behat/behat.yml --name 'non editing teacher grade essay questions'
      Moodle 3.0dev (Build: 20150511), oci, 753d681076b656fb3ed05503c9bab5c8f8f9bda5
      Server OS "Darwin", Browser: "firefox"
      Started at 12-05-2015, 07:46
      .......................................................F------------
       
      (::) Pasos fallidos (::)
       
      01. "Student 1's response" text was not found in the page
          In step `And I should see "Student 1's response"'.                                  # behat_general::assert_page_contains_text()
          From scenario `non editing teacher grade essay questions'.                          # /Users/stronk7/git_moodle/testing/mod/lesson/tests/behat/teacher_grade_essays.feature:7
          Of feature `In a lesson activity, a non editing teacher can grade essay questions'. # /Users/stronk7/git_moodle/testing/mod/lesson/tests/behat/teacher_grade_essays.feature
       
      1 escenario (1 fallidos)
      68 pasos (55 exitosos, 12 omitidos, 1 fallidos)
      1m42.671s
      

      Curiously, I can see there "Student 2's response" instead of "Student 1's response". In fact, that's the one I see the teacher clicks to be graded before the failure. Just in case it helps to identify the problem (ordering...?).

      Haven't checked if the same applies to older branches.

      Ciao

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  6/Jul/15