TestCase24 · Pytest invoice download test
Account creation, ordering, invoice download, and account deletion flows with pytest.
Scope and contribution
A Python test project covering product selection, registration, payment, invoice download, and account deletion on Automation Exercise.
Page Object structure and end-to-end invoice download scenario.
Order and invoice download flow
The test checks the home page logo, adds a product to the cart, and creates a new user during checkout. After comparing the delivery and billing addresses, it completes the payment steps.
The scenario then triggers the invoice download, checks the downloaded file, and finishes by deleting the account.
Python Page Object structure
Interactions are separated into HomePage, CartPage, SignupPage, and AccountPage classes. Shared visibility and clickability waits are kept in PageBase.
GitHub's language bar gives HTML the larger share because the repository includes rapor.html, while the automation source itself is written in Python with pytest.
Setup and execution
A pytest fixture starts a local Chrome WebDriver and closes it after the test. The repository does not include a separate dependency file or setup guide with run commands.
Source files
Use the links below to review the project README and source code.
- Repository README ↗Invoice download scenario scope
- Pytest scenario ↗Ordering, invoice, and account deletion steps
- Page Object classes ↗Page elements and shared helpers
Project status
The project tests were not run for this portfolio. The date and current-environment validity of the repository's HTML report were not independently verified.