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.
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.
To get started, clone the project repository using Git:
git clone https://github.com/lobanov-qa/autotests-ui.git
cd autotests-uiIt's recommended to use a virtual environment to manage project dependencies. Follow the instructions for your operating system:
python3 -m venv venv
source venv/bin/activatepython -m venv venv
venv\Scripts\activateOnce the virtual environment is activated, install the project dependencies listed in requirements.txt:
pip install -r requirements.txtIf you're running Playwright for the first time, you might need to install the required browsers:
playwright installTo run the tests and generate an Allure report, use the following command:
pytest -m "regression" --alluredir=./allure-resultsThis will execute all tests in the project and display the results in the terminal.
After the tests have been executed, you can generate and view the Allure report with:
allure serve allure-resultsThis command will open the Allure report in your default web browser.
Looking for an opportunity to start a career in test automation. Ready for test tasks, code reviews, and interviews.
- GitHub: lobanov-qa
- LinkedIn: evgenii-lobanov-qa
- Telegram: lobanov_e_i
Project created as part of the "API Test Automation with Python and Playwright" course (author — Nikita Filonov).