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

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              lameze Simey Lameze
              Mihail Geshoski Mihail Geshoski
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 12 minutes
                  7h 12m