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

Random behat failure in scenario "Student answers questions and then reviews them"

XMLWordPrintable

    • 3
    • HQ 2023 Sprint I4.3 Moppies

      Happens rarely twice, specially with Oracle (slow?) although it has been detectes also with other databases. It's goutte one, so no JS "evil" around

      The scenario is lesson's "Student answers questions and then reviews them"

      https://ci.moodle.org/job/W39.02.05%20-%20Behat%20-%20Goutte%20+%20Oracle/562/

      https://ci.moodle.org/view/B%20-%20main/job/W.02.05%20-%20Behat%20-%20NonJS%20+%20Oracle/2409/ 

      001 Scenario: Student answers questions and then reviews them.            # /var/www/html/mod/lesson/tests/behat/lesson_review.feature:7
            And I should see "You have answered 2 correctly out of 3 attempts." # /var/www/html/mod/lesson/tests/behat/lesson_review.feature:83
              "You have answered 2 correctly out of 3 attempts." text was not found in the page
              
              +--[ HTTP/1.1 200 | http://run9258c67bf5cb18ae/behatrun1/mod/lesson/view.php | GoutteDriver ]
              |
              |  <!DOCTYPE html>
              |  
              |  <html  dir="ltr" lang="en" xml:lang="en">
              |  <head>
              |      <title>C1: Test lesson name: Congratulations - end of lesson reached</title>
              |      <link rel="shortcut icon" href="http://run9258c67bf5cb18ae/behatrun1/theme/image.php/boost/theme/1583524764/favicon" />
              |      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              |  <meta name="keywords" content="moodle, C1: Test lesson name: Congratulations - end of lesson reached" />
              |  <link rel="stylesheet" type="text/css" href="http://run9258c67bf5cb18ae/behatrun1/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.css" /><script id="firstthemesheet" type="text/css">/** Required in order to fix style inclusion problems in IE with YUI **/</script><link rel="stylesheet" type="text/css" href="http://run9258c67bf5cb18ae/behatrun1/theme/styles.php/boost/1583524764_1/all" />
              |  <script type="text/javascript">
              |  //<![CDATA[
              |  var M = {}; M.yui = {};
              |  M.pageloadstarttime = new Date();
              |  M.cfg = {"wwwroot":"http:\/\/run9258c67bf5cb18ae\/beh...
              |
       
      1 scenario (1 failed)
      42 steps (39 passed, 1 failed, 2 skipped)
      0m18.63s (47.74Mb)
      

            sarjona Sara Arjona (@sarjona)
            stronk7 Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 45 minutes
                1d 2h 45m

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