Login Automation in SauceDemo with Serenity BDD and Screenplay Pattern
This project automates the login process of the SauceDemo web app using Serenity BDD with the Screenplay pattern, demonstrating how a well-structured and layered design can deliver reliable, readable, and easily maintainable test automation for realistic user interactions.
Two login scenarios are validated: one executes a straightforward login using valid credentials and simple tasks, while the second explores an error recovery flow — first failing, then succeeding — through composed, reusable task methods that reflect true automation best practices.
Tools used in this project:
- Language: Java
- Test framework: SerenityBDD
- Design pattern: Screenplay