Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8828

exception.message is not displayed correctly for failed tests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: testng-plugin
    • Labels:
      None

      Description

      The message is not fully displayed in the reportDetail.jelly page for MethodResult.

      Exception Stack Trace

      Message: expected: but was:

      Full Stacktrace:
      java.lang.AssertionError: expected:George Jetson FF#abc123x Ticket #aa2123
      Booking Information
      Booked on Hotel deals 6/11/2010
      Reference #: 211233
      http://www.hotels.com
      (555) 555-5555
      Booking Rate: $17
      Total Cost: $1422.12
      Not Purchased> but was:George Jetson FF#abc123x Ticket #aa2123
      Booking Information
      Booked on Hotel deals 6/11/2010
      Reference #: 211233
      http://www.hotels.com
      (555) 555-5555
      Booking Rate: $17
      Total Cost: $1422.12
      Not Purchased>
      at org.testng.Assert.fail(Assert.java:89)

        Activity

        farshidce farshidce created issue -
        Show
        farshidce farshidce added a comment - commit link https://github.com/jenkinsci/testng-plugin-plugin/commit/f1342f2ab44a223ab545d89252e7513292ee9ca7
        farshidce farshidce made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            farshidce farshidce
            Reporter:
            farshidce farshidce
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: