Frontend GUI testing - qreal/wmp GitHub Wiki
WMP includes GUI testing module. These tests setup Chrome browser and emulate user actions.
It is required to have Google Chrome browser installed.
Build and run
- Build WMP project
- Run WMP project
- Open a terminal in the root WMP directory
- Type 'chmod u+x Travis/callTomcat.sh'
- Type 'cd ui-testing'
- Type 'mvn install'. It builds the testing module and runs tests.
Using Multirun plugin on Linux or Mac
Install and setup IDEA Multirun plugin to run all the modules (see on How to run page).
-
Open terminal.
Type sudo apt-get install curl if you have Ubuntu Linux
and brew install curl if you have Mac.
-
Add maven configuration with command clean install -Dscanner=false and your profile.
- Add multirun
all
configuration and configuration from point 1 to new multirun.
- If you run this configuration, it runs all WMP modules and GUI-testing.