https://github.com/fanoctism/selenium-login-tests
Automation project using Python, Selenium, and PyTest - covers login and UI sorting flows with Page Object pattern.
https://github.com/fanoctism/selenium-login-tests
automation page-object pytest python qa selenium testing
Last synced: about 1 month ago
JSON representation
Automation project using Python, Selenium, and PyTest - covers login and UI sorting flows with Page Object pattern.
- Host: GitHub
- URL: https://github.com/fanoctism/selenium-login-tests
- Owner: fanoctism
- Created: 2025-10-08T09:14:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-08T09:59:39.000Z (8 months ago)
- Last Synced: 2025-10-08T11:39:00.115Z (8 months ago)
- Topics: automation, page-object, pytest, python, qa, selenium, testing
- Language: Python
- Homepage: https://github.com/fanoctism
- Size: 27.6 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://codecov.io/gh/fanoctism/selenium-login-tests)
[](https://github.com/fanoctism/selenium-login-tests/actions/workflows/tests.yml)
# Selenium Login Tests


Automated web UI tests built with Selenium, Pytest, and GitHub Actions.
## Features
- End to end login validation tests
- HTML reports with pytest-html
- GitHub Actions CI integration
- WebDriver auto download via webdriver-manager
- Pre commit hooks (Black, Flake8, isort)
## Setup and Run
Clone repository:
git clone https://github.com/fanoctism/selenium-login-tests.git
cd selenium-login-tests
Create virtual environment (Windows):
python -m venv .venv
.\.venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Run tests:
pytest -v
pytest -v --html=report.html --self-contained-html
After running tests:
- report.html contains the HTML report
- screenshots are saved on failure if any
## CI
Workflow file:
.github/workflows/tests.yml
Triggers:
- push to main
- pull_request into main
Artifacts uploaded:
- pytest-report (report.html)
- screenshots (on failure)
## Code style
pre-commit install
pre-commit run --all-files