Introduction
End to end tests are performed using Protractor and run from OpenVeo core.
You first have to install and configure tests as described in core documentation.
Write tests
All end to end tests are located in tests/client/e2eTests/. Suites are described in tests/client/protractorSuites.json. And the list of datas to create before launching tests are available in tests/client/e2eTests/database/data.json
Launch plugin end to end tests
# Launch all plugin end to end tests on chrome
grunt test-e2e --capabilities="{\"browserName\": \"chrome\"}" --directConnect=true --suite="plugin"
# Launch all plugin end to end tests on firefox
grunt test-e2e --capabilities="{\"browserName\": \"firefox\"}" --directConnect=true --suite="plugin"