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

Behat failures with grade_calculated_grade_items features

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_39_STABLE

      Description

      Part of the Release testing matrix completion for 3.9, I'm getting these consistent (2 reruns) failures with Mac & Chrome, hence reporting

      Link: https://pastebin.com/jz2vP6U8

      Moodle 3.9dev+ (Build: 20200529), 06413661817bdb0708da9464f17f0c9465fec1c0
      Php: 7.3.16, mariadb: 10.2.30, OS: Darwin 19.4.0 x86_64
      Server OS "Darwin", Browser: "chrome"
      Browser specific fixes have been applied. See http://docs.moodle.org/dev/Acceptance_testing#Browser_specific_fixes
      Started at 31-05-2020, 17:37
      ............F--------............F--------------------------.......... 70
      ...F--------.............F--------------------------
       
      --- Pasos fallidos:
       
      001 Scenario: The max grade for a category item, with a calculation using Natural aggregation, can be changed # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items.feature:26
            And I set "=[[gi1]]/2" calculation for grade category "Calc cat" with idnumbers:                        # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items.feature:36
              Xpath matching locator "//input[@class='idnumber'][parent::li[@class='item'][text()='grade item 1'] | parent::li[@class='categoryitem' | @class='courseitem']/parent::ul/parent::li[starts-with(text(),'grade item 1')]]" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      002 Scenario: Changing max grade for a category item with a calculation that has existing grades will display the same points with the new max grade values immediately. # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items.feature:53
            And I set "=[[gi1]]/2" calculation for grade category "Calc cat" with idnumbers:                                                                                   # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items.feature:63
              Xpath matching locator "//input[@class='idnumber'][parent::li[@class='item'][text()='grade item 1'] | parent::li[@class='categoryitem' | @class='courseitem']/parent::ul/parent::li[starts-with(text(),'grade item 1')]]" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      003 Scenario: The max grade for a category item, with a calculation using Natural aggregation, can be changed # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items_20150627.feature:27
            And I set "=[[gi1]]/2" calculation for grade category "Calc cat" with idnumbers:                        # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items_20150627.feature:37
              Xpath matching locator "//input[@class='idnumber'][parent::li[@class='item'][text()='grade item 1'] | parent::li[@class='categoryitem' | @class='courseitem']/parent::ul/parent::li[starts-with(text(),'grade item 1')]]" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      004 Scenario: Changing max grade for a category item with a calculation that has existing grades will display the same points with the new max grade values immediately. # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items_20150627.feature:54
            And I set "=[[gi1]]/2" calculation for grade category "Calc cat" with idnumbers:                                                                                   # /Users/stronk7/git_moodle/testing/grade/tests/behat/grade_calculated_grade_items_20150627.feature:64
              Xpath matching locator "//input[@class='idnumber'][parent::li[@class='item'][text()='grade item 1'] | parent::li[@class='categoryitem' | @class='courseitem']/parent::ul/parent::li[starts-with(text(),'grade item 1')]]" not found. (Behat\Mink\Exception\ElementNotFoundException)
       
      4 escenarios (4 fallaron)
      122 pasos (50 pasaron, 4 fallaron, 68 saltadas)
      1m50.51s (50.06Mb)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: