Mobile Automation — SauceDemo
End-to-end automation project for the SauceDemo mobile app (Android). Covers essential flows: login, cart, context menu, checkout, and price validations.
Scope
- User authentication (Login)
- Shopping cart management
- Context menu navigation
- Complete checkout flow
- Price calculation and validations
Technologies & Tools
- Appium
- Cucumber (BDD)
- JUnit 5
- Java
- Allure Reports
Documentation & Test Tracking
In addition to automated reports (JUnit + Allure), I maintain manual documentation of the test cases covered to ensure traceability and functional coverage.
ID | Feature | Escenario | Automatizado | Archivo Feature |
---|---|---|---|---|
F001-S01 | Login de usuario | Login válido | ✔️ Sí | login.feature |
F001-S02 | Login de usuario | Login fallido | ✔️ Sí | login.feature |
F001-S03 | Login de usuario | Login bloqueado | ✔️ Sí | login.feature |
F001-S04 | Login de usuario | Login con contraseña vacía | ✔️ Sí | login.feature |
F001-S05 | Login de usuario | Login con usuario vacío | ✔️ Sí | login.feature |
F002-S01 | Funcionalidad del carrito | Añadir un producto al carrito | ✔️ Sí | cart.feature |
F002-S02 | Funcionalidad del carrito | Eliminar un producto del carrito | ✔️ Sí | cart.feature |
F002-S03 | Funcionalidad del carrito | Añadir múltiples productos y verificar el total | ✔️ Sí | cart.feature |
Fragment from the manually maintained test case documentation.
Technical Challenges
Coming from a more traditional testing approach, adapting to BDD with Cucumber required some effort, despite being familiar with Gherkin syntax.
Solutions Implemented
I started with simple tests using JUnit and gradually migrated them to BDD, which helped me better understand the structure and flow of Cucumber-based automation.
Key Features
- End-to-end mobile flow automation
- Allure Reports with automatic screenshot capture on failures
- Data sharing between test steps
- Best practices: Hooks, Page Object Model, and Context Management
Screenshot Example in Allure

Example of a test execution result screenshot on mobile.
Result
Stable and maintainable mobile test suite covering key functionalities of the app. Although its scope is slightly smaller than the web version, it is easy to extend and adapt.
Lessons & Future Improvements
- Deeper knowledge of BDD with Cucumber and reporting with Allure
- Next steps: improved cross-device testing and CI integration