Selenium test suite for Greenfield app using Python bindings
Requires docker, python, pip
-
Deploy Greenfield app as described in https://github.com/maciejd/greenfield-django
-
Run Selenium Standalone Chrome node
docker run -d -p 4444:4444 selenium/standalone-chrome:3.0.1-aluminum
-
Clone repo with tests
git clone https://github.com/maciejd/greenfield-selenium-tests.git
-
Chande directory
cd greenfield-selenium tests
-
Install selenium
pip install selenium
-
Modify
DOCKER_HOST_IP
ingreenfield_selenium.py
to match your docker host's IP -
Run tests
python greenfield_selenium.py