Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4585

WicketTester.assertErrorMessages passes even if the message isn't visible on the page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.6
    • 7.0.0-M1
    • wicket
    • None

    Description

      If you forget to add a FeedbackPanel to the page, WicketTester.assertErrorMessages will still pass the check even though no error message was actually displayed to the user. This makes it essentially unusable as a meaningful test (I am using assertContains for the time being.)

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            trejkaz Trejkaz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: