Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-161

NPE ImageResponse.dimension() when target image not exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.2.0
    • 1.1.0
    • None

    Description

      Steps to reproduce

      1. https://git.magnolia-cms.com/projects/PLATFORM/repos/test-framework/browse/docs/ui-tests-how-to-m6.md
      2. HttpClientSupport
      3. set wrong path to not existing image
      4.  assert on imageResponse.dimension()
      5.  

      .. Logs, screenshots, gifs...

      Expected results

      get null

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      NPE is thrown

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                efochr Evzen Fochr
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3h
                      3h