How djtikas/playwright-web-auto-framework works
This is a Playwright/pytest UI regression-testing framework for a backend management system. Its main workflow is to launch tests, exercise login and management pages, and report results with failure artifacts; tests also cover registration, projects, modules, environments, and multi-account behavior. The README additionally documents interface mocking and Jenkins/Docker CI. Source excerpts show pytest setup, browser artifact capture, page objects, and notifications; several test and mock implementations were not sampled, so their internal calls are not inferred.
Main entry points: conftest.py Pytest setup · cases Regression cases · run.py Run entry · pytest_playwright.py Failure artifacts
Components 21
Test execution
- Run entry
run.py - Pytest setup
conftest.py - Regression cases
cases
UI test domains
- Auth tests
cases/test_auth - Project tests
cases/test_project - Module tests
cases/test_module - Environment tests
cases - Account tests
cases/test_more_accounts - Validation data
cases/common/validation_data.py - Login page
pages/login_page.py - Registration page
pages/register_page.py - Project pages
pages/project_list_page.py - Module pages
pages/module_list_page.py - Environment page
pages/env_list_page.py
Browser and reporting
- Failure artifacts
plugins/pytest_playwright.py - Allure reporting
Integrations
- Interface mocks
mocks - Tested web app
- DingTalk
- Jenkins and Docker CI
Jenkinsfile
Other components
- Test author
Connections 15
- Test author → Run entry: starts
README.md - Run entry → Pytest setup: invokes
run.py - Pytest setup → Regression cases: discovers
README.md - Pytest setup → Failure artifacts: registers
conftest.py - Pytest setup → Allure reporting: configures results
conftest.py - Regression cases → Validation data: uses data
- Login page → Tested web app: drives browser
pages/login_page.py - Registration page → Tested web app: drives browser
pages/register_page.py - Project pages → Tested web app: drives browser
pages/project_list_page.py - Module pages → Tested web app: drives browser
pages/module_list_page.py - Environment page → Tested web app: drives browser
pages/env_list_page.py - Failure artifacts → Allure reporting: attaches captures
plugins/pytest_playwright.py - Regression cases → Interface mocks: mocks interfaces
README.md - Pytest setup → DingTalk: sends summary
conftest.py - Jenkins and Docker CI → Run entry: runs regression
README.md