This repo contains small implementation of e2e tests written in Python, Selenium and Gherkin syntax. Tests were written for http://automationpractice.com/
Project was written in Python 3.7.6 but any version of Python 3.x should be fine.
As a default browser Chrome was used so make sure that Chrome on your local machine is installed.
Chromedriver is required to run Selenium tests in Chrome browser. Depending of the browser version, download appropriate driver from https://chromedriver.chromium.org/downloads
1 Clone repo
2 Go to the root folder of the project and create virtual environment - python3 -m venv $(pwd)/venv (more info here: https://docs.python.org/3.7/library/venv.html)
3 Activate virtual environment - source ./venv/bin/activate
4 Install requred dependencies - make deps
5 Add chromedriver to environmental variables - export CHROMEDRIVER=absolute/path/to/chromedriver
6 Run tests by command - behave