Page History
...
- The Magnolia webapp runs on the host as usual
- with manual-tests profile
- e.g.
mvn clean verify -P jetty6jetty9-standalone,manual-tests
- free hint #1: run this build from another location on your machine than the one you typically work at
- free hint #2: run it in offline mode (
mvn -o ...
) if you just installed one of the modules you want to put under test
...
- In the VM, download Selenium Server (formerly the Selenium RC Server)
- http://docs.seleniumhq.org/download/
- should be something like
selenium-server-standalone-2.42.2.jar
- and then run it, e.g.
java -jar selenium-server-standalone-2.42.2.jar
On your host run the UI Tests with the variables
seleniumServerHostName
which is the address of your newly created VM andcontainerHostName
which is the address used of your VM to access your host system (this is probably not equal to your machines address in the magnolia network)Code Block language bash $ mvn -U clean install -Pjetty6Pjetty9-standalone,ui-tests -DseleniumServerHostName=192.168.56.101 -DcontainerHostName=192.168.56.1
If necessary replace the IP addresses.
In your run configuration in IntelliJ you have to add these two variables
seleniumServerHostName
andcontainerHostName
as well.
...
Overview
Content Tools