Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31552

[Behat] Error entries in logs should fail a test

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Specification Done
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 2.5.9
    • Fix Version/s: None
    • Component/s: QA
    • Labels:

      Description

      There are some things that we are unable to verify using a browser, for example:

      • captcha is rendered correctly
      • video is loaded correctly

      But most of the time it leaves a trace in Browser logs, for example:

              │  http://web/admin/content/download/79/ezmedia/video1.mp4 - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
      

      We should investigate whether it's possible to mark a test as failed if there is an error in application logs/browser console.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            marek.nocon@ez.no Marek Nocoń
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: