BaseWicketTester.isVisible() only checks Component.isVisible(), not Component.isRenderAllowed(). So for a component whose RENDER action is disabled through role based authorization strategy, BaseWicketTester.isVisible() still returns true. BaseWicketTester.isInvisible() works correctly by using BaseWicketTester.getComponentFromLastRenderedPage() which checks both Component.isVisible() and isRenderAllowed().
Should I add this to JIRA? Yuesong --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]