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

Fatal errors not being detected by behat in master

XMLWordPrintable

    • MOODLE_31_STABLE

      I was working on a tiny Scenario to cover MDL-53994 and I became surprised because the fatal error reported there was not being detected by behat and, instead the next step failed because, obviously, with the error being shown, it did not match.

      To reproduce it:

      1) edit blocks/feedback/block_feedback.php

      2) comment the require_once() line #27

      3) Run --name 'Site feedback deletion hides feedback block completely'

      Expected behavior:

      As far as that causes a Fatal error, behat should fail with that information

      Current behavior:

      The error is not detected and next step fails because, obviously there is not match

      That's it, I think we should be detecting those errors. Without that, depending of the next steps, the problem can be completely undetected.

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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