WicketTester and confirmation modal

2016-01-15 Thread Marco Di Sabatino Di Diodoro
Hi all, I'm implementing tests with WicketTester for Apache Syncope console. How can I simulate a click on my confirmation modal? This is my java class public class ConfirmationModalBehavior extends Behavior { private final String message; public ConfirmationModalBehavior() {

Re: WicketTester and confirmation modal

2016-01-15 Thread Martin Grigorov
Hi, You cannot test JavaScript with WicketTester. You can set some request parameter that says "confirmed" or "denied" and make a request to the server side where you process it. You can use something like Selenium for testing real clicks in JavaScript. Martin Grigorov Wicket Training and

Re: WicketTester and confirmation modal

2016-01-15 Thread Marco Di Sabatino Di Diodoro
Il 15/01/2016 13:51, Martin Grigorov ha scritto: Hi, You cannot test JavaScript with WicketTester. You can set some request parameter that says "confirmed" or "denied" and make a request to the server side where you process it. You can use something like Selenium for testing real clicks in