Re: WicketTester and the test of image visibility

2011-02-07 Thread Igor Vaynberg
most of our unit tests check the markup, see there.

-igor

On Fri, Feb 4, 2011 at 1:19 AM, Dmitriy Neretin
 wrote:
> Could you provide me a simple exmaplte how can I do that?
>
> Thank you!
>
> On 3 February 2011 18:33, Igor Vaynberg  wrote:
>
>> visibility can be triggered from a lot of places, isvisible() only
>> checks the visibility flag. the best way to test it is to see if the
>> image tag appears in the rendered markup.
>>
>> -igor
>>
>> On Thu, Feb 3, 2011 at 1:16 AM, Dmitriy Neretin
>>  wrote:
>> > Hello everybody!
>> >
>> > Is the WicketTester method isVisible() the right solution to test if the
>> > Image is shown on the webpage?
>> >
>> > Thank you!
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketTester and the test of image visibility

2011-02-04 Thread Dmitriy Neretin
Could you provide me a simple exmaplte how can I do that?

Thank you!

On 3 February 2011 18:33, Igor Vaynberg  wrote:

> visibility can be triggered from a lot of places, isvisible() only
> checks the visibility flag. the best way to test it is to see if the
> image tag appears in the rendered markup.
>
> -igor
>
> On Thu, Feb 3, 2011 at 1:16 AM, Dmitriy Neretin
>  wrote:
> > Hello everybody!
> >
> > Is the WicketTester method isVisible() the right solution to test if the
> > Image is shown on the webpage?
> >
> > Thank you!
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: WicketTester and the test of image visibility

2011-02-03 Thread Igor Vaynberg
visibility can be triggered from a lot of places, isvisible() only
checks the visibility flag. the best way to test it is to see if the
image tag appears in the rendered markup.

-igor

On Thu, Feb 3, 2011 at 1:16 AM, Dmitriy Neretin
 wrote:
> Hello everybody!
>
> Is the WicketTester method isVisible() the right solution to test if the
> Image is shown on the webpage?
>
> Thank you!
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



WicketTester and the test of image visibility

2011-02-03 Thread Dmitriy Neretin
Hello everybody!

Is the WicketTester method isVisible() the right solution to test if the
Image is shown on the webpage?

Thank you!