[seam-dev] Manually cleaning request context in wicket tester.

Karel Piwko kpiwko at redhat.com
Tue Jan 25 10:50:15 EST 2011


You can get the best of both worlds and combine Arquillian with
Selenium/WebDriver using Arquillian-Selenium extension.

Karel

On Tue, 2011-01-25 at 10:34 +0100, Marek Smigielski wrote:
> Hi,
> 
> I was trying to write some more complex test scenario for wicket module, but I have problem with CDI contexts. When I access second page through SeamWicketTester object, request context still is the same as in previous one.  Is there any way to manualy flush context in CDI? 
> 
> Without it it will be hard to write some integration test in realworld business application when you need some more steps to test, and want to see how different objects are injected to your pages.
> 
> 
> As I understand there will be also impossible to test conversation scope behaviour. Do you have any advice how to do it?
> 
> Or should I use frameworks like selenium?
> 
> 
> It will be good feature to manually control context switching in arquillian but I don't know whether it is possible.
> 
> 
> regards,
> Marek Smigielski
> 
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev




More information about the seam-dev mailing list