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

Random "Teacher updated the comment box and clicked the save changes to reflect the comment" failure

XMLWordPrintable

      We have been seeing this failure on 4.1 (Chrome + Oracle)

      Console output

      01 Scenario: Teacher updated the comment box and clicked the save changes to reflect the comment # /var/www/html/mod/assign/tests/behat/submission_comments.feature:48
            And I press "Save changes"                                                                  # /var/www/html/mod/assign/tests/behat/submission_comments.feature:64
              Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow (io:1). If you are using a slow machine, consider setting $CFG->behat_increasetimeout. (Exception)
       
      002 Scenario: Teacher updated the comment box and clicked on save and show next to reflect the comment # /var/www/html/mod/assign/tests/behat/submission_comments.feature:69
            And I press "Save and show next"                                                                 # /var/www/html/mod/assign/tests/behat/submission_comments.feature:85
              Moodle exception: Cannot read properties of null (reading 'innerHTML') File: Line: Stack trace: TypeError: Cannot read properties of null (reading 'innerHTML')     at Y_Node.DEFAULT_SETTER (http://webserverd30b5d0993d3fefc/behatrun3/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:17449:27)     at Y_Node.set (http://webserverd30b5d0993d3fefc/behatrun3/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:17580:39)     at http://webserverd30b5d0993d3fefc/behatrun3/lib/javascript.php/1670495687/comment/comment.js:22:386     at e (http://webserverd30b5d0993d3fefc/behatrun3/lib/javascript.php/1670495687/lib/jquery/jquery-3.6.1.min.js:2:30038)     at t (http://webserverd30b5d0993d3fefc/behatrun3/lib/javascript.php/1670495687/lib/jquery/jquery-3.6.1.min.js:2:30340)
              Cannot read properties of null (reading 'innerHTML') (Exception)
      

      Example of failed build

            lameze Simey Lameze
            lameze Simey Lameze
            Mihail Geshoski Mihail Geshoski
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 5 hours, 4 minutes
                4d 5h 4m

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