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

NPE ImageResponse.dimension() when target image not exist

XMLWordPrintable

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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