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

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).

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

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

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