public void button_replaced_with_render_all_should_keep_working() {
browser.get(contextPath.toExternalForm());
assertEquals("0", counter.getText());
Warp
.initiate(new Activity() {
public void perform() {
guardAjax(button).click();
}
})
.observe(request().uri().contains("index"))
.inspect(new IncrementCounter());
assertEquals("counter should be incremented and rendered during render=@all", "1", counter.getText());
Warp
.initiate(new Activity() {
public void perform() {
guardAjax(button).click();
}
})
.observe(request().uri().contains("index"))