Skip to content

Frontend GUI testing

ArtemiiBezguzikov edited this page May 27, 2017 · 26 revisions

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

  1. Run WMP project
  2. Open a terminal in the root WMP directory
  3. Type 'chmod u+x Travis/callTomcat.sh'
  4. Type 'cd ui-testing'
  5. 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.