Simple example using Robot Framework with Vaadin and Vaadin TestBench Hub. The example uses SeleniumLibrary and robotframework-maven-plugin to run browser based tests.
This sample test logs in to https://demo.vaadin.com/dashboard and checks that login was succesful.
All settings are specified in the beginning of the test file There are two modes for the test:
- Local browser (enabled by default)
- TestBench Hub
Chrome driver is used in both. If TestBench Hub is used, make sure that the correct URL is given in ${HUB_URL}
in Settings. By default local hub is used and
To execute the test locally or using TestBench Hub run:
mvn verify