Skip to content

Artyko/Stepik-selenium-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Selenium with python

This is the final project to the course: Автоматизация тестирования с помощью Selenium и Python

The project implemented autotests based on a Page Object pattern for the Training site

Requirements

pytest==5.1.1
selenium==3.14.0

Getting started

These instructions will get you a copy of the project up and running on your local machine for testing purposes.

git clone https://github.com/Artyko/Stepik-selenium-final-project.git
cd Stepik-selenium-final-project
pip install -r requirements.txt 
cd page_objects

Running the tests

Before running the tests, make sure that you are in the 'page_objects' folder.

To run the basic tests for a review:

pytest -v --tb=line --language=en -m need_review

More tests

The project also presents autotests of two different pages for guests and authorized users:

pytest --tb=line test_main_page.py
pytest --tb=line test_product_page.py
pytest --tb=line -m register_user
pytest --tb=line -m login_guest

Thanks

Releases

No releases published

Packages

No packages published

Languages