Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.03 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.03 KB

Running user acceptance tests

These tests (also referred to as User Acceptance Tests) are found in the acceptance_tests directory and executed by Gauge and Taiko. These tests are part of CI/CD and executed on every GitLab commit.

Run tests locally

From the root directory, build controlcenter:

make release
cd acceptance_tests
# if you have chrome / chromium installed already, then disable duplicate chromium download...
# export TAIKO_SKIP_CHROMIUM_DOWNLOAD=1
# ... and set the path to your existing chrome / chromium binary
# export TAIKO_BROWSER_PATH=/usr/bin/chrome-gnome-shell
# get node dependencies including gauge and taiko
npm install
# set the path to necessary npm binaries
export PATH=$PATH:$PWD/node_modules/.bin
# execute tests (all tests, for convenience)
npm test
# execute gauge directly (for access to all gauge options)
npm run-script gauge run specs/

After doing all this you should see a Chrome / Chromium browser open, and tests start to run.