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

Add "assertNotRequired" to the WicketTester

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.20.0
    • 7.3.0, 8.0.0-M1, 6.22.0
    • wicket
    • None

    Description

      In our project, components can be conditionally required. When the condition is met, WicketTester#assertRequired works great; however there's currently no easy way to test, that something is not required.

      Therefore, it would be great if something like WicketTester#assertNotRequired could be added.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            blalasaadri Alasdair Collinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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