Commit 84da3491 authored by jaden's avatar jaden

update e2e docs

parent dd889d2b
......@@ -201,6 +201,9 @@ Currently, testing the BEAT web platform with Protractor requires additional set
./bin/webdriver-manager update
.. warning::
You need Java 8 available in your PATH to run Protractor/Selenium.
Running tests with the provided script
======================================
......@@ -209,9 +212,9 @@ The ``protractor.sh`` script is a one-liner to run Protractor tests. It handles
- It is being ran in the top directory of the ``beat.web`` repository
- The repository has already ran ``./bin/buildout`` successfully and with default development configuration
- Protractor's ``.conf`` file is ``./protractor-conf.js``
- Default (no) additional arguments passed to ``webdriver-manager`` or Django ``runserver``
- No additional arguments need to be passed to ``webdriver-manager`` or Django ``runserver``
- Django uses ``./django.sql3`` as the database
- If ``./django.sql3`` does not exist, the default database generated by ``./bin/django install`` is sufficient for testing
- If ``./template.django.sql3`` does not exist, the default database generated by ``./bin/django install`` is sufficient for testing the basic tests. However, some tests will fail and it is suggested to provide a database with experiments that have been ran successfully.
Manual test running
===================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment