what do you think is a proper way to test VAADIN applications?
We do have some JUnit tests and some Selenium tests, but I’m not completely happy with this.
The Selenium tests are hard to maintain, and with the Unit tests it is very dificult to test a complete view, because services and presenters usually are mocked.
Typically tests are done in several levels and are quite similar to the tests of any other web application.
In the lowest level of a UI tests we have Junit tests of UI’s presenters and views. These are typically done by mocking as you already stated. These test should be done automatically by your build system such as Jenkins.