Skip to content

lobanov-qa/autotests-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI Course Automation Tests

English | Russian

This project implements automated tests for the UI Course Test Application. The tests are written using Python, Pytest, Allure and Playwright. The test application’s source code is available on GitHub.

UI tests Python Playwright Pytest Git GitHub Actions

Project Overview

The goal of this project is to automate the testing of the UI Course application. The automated tests verify various functionalities of the application to ensure its stability and correctness. The project structure follows best practices for organizing test code with clear, maintainable scripts.

Getting Started

Clone the Repository

To get started, clone the project repository using Git:

git clone https://github.com/lobanov-qa/autotests-ui.git
cd autotests-ui

Create a Virtual Environment

It's recommended to use a virtual environment to manage project dependencies. Follow the instructions for your operating system:

Linux / MacOS

python3 -m venv venv
source venv/bin/activate

Windows

python -m venv venv
venv\Scripts\activate

Install Dependencies

Once the virtual environment is activated, install the project dependencies listed in requirements.txt:

pip install -r requirements.txt

Additional Playwright Setup (if needed)

If you're running Playwright for the first time, you might need to install the required browsers:

playwright install

Running the Tests with Allure Report Generation

To run the tests and generate an Allure report, use the following command:

pytest -m "regression" --alluredir=./allure-results

This will execute all tests in the project and display the results in the terminal.

Viewing the Allure Report

After the tests have been executed, you can generate and view the Allure report with:

allure serve allure-results

This command will open the Allure report in your default web browser.


📞 Contacts

Looking for an opportunity to start a career in test automation. Ready for test tasks, code reviews, and interviews.


Project created as part of the "API Test Automation with Python and Playwright" course (author — Nikita Filonov).

About

🚀 UI test automation framework for the UI Course Test Application. Uses Python, Pytest, Playwright, and Allure to test web interfaces. Implements Page Object/Page Factory patterns, professional reporting, and CI with GitHub Actions.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages