Skip to content

Frontend GUI testing

artbez edited this page Nov 8, 2016 · 26 revisions

WMP includes GUI testing module. These tests setup Chrome browser and emulate user actions.

It is required to have Google [Chrome browser] (https://support.google.com/chrome/answer/95346?co=GENIE.Platform%3DDesktop&hl=en-GB) installed.

Build and run

  1. [Run WMP project] (https://github.com/qreal/wmp/wiki/How-to-run)
  2. Open root WMP directory in terminal
  3. Type 'cd ui-testing'
  4. Type 'mvn install'. It builds module and runs tests.

Using Multirun plugin on Linux or Mac

This character proposes that Multirun plugin is already installed and used for 'all' configuration (see on [How to run] (https://github.com/qreal/wmp/wiki/How-to-run) page).

  • Open terminal. If you have Linux: sudo apt-get install curl if you have Linux and brew install curl jf you have Mac.

  • Add maven configuration with command clean install -Dscanner=false and your profile.

  • Add multirun configuration with all and configuration from point 1.

  • If you run this configuration, it setups all modules of wmp and ui-tests them.