Asqatasun v4 - Summary

Asqatasun v4 - Functional tests in Asqatasun

Functional tests are done with Selenium WebDriver. The actual tests are in the testing-tools/tgol-test-scenario.

Running all functional tests

Provided you have:

...you may run all the functional tests with:

cd testing-tools/tgol-test-scenario
mvn test \
    -Dadmin.user=admin@asqatasun.org \
    -Dadmin.password=myAsqaPassword \
    -Dhost.location=http://localhost:8085/asqatasun/ \
    -Dfirefox.path=/opt/firefox/firefox

Running one given functional test

Say you just want to debug the "login/logout" test, you have to add the -Dtest=... and add it before the test command:

cd testing-tools/tgol-test-scenario
mvn \
    -Dtest=LoginLogoutScenarioTest \
    test \
    -Dadmin.user=admin@asqatasun.org \
    -Dadmin.password=myAsqaPassword \
    -Dhost.location=http://localhost:8085/asqatasun/ \
    -Dfirefox.path=/opt/firefox/firefox