Skip to content

Palak345/Sweet-Donut-Website-Tested-with-Cypress

Repository files navigation

Sweet-Donut-Website-Tested-with-Cypress

image

📌 Project Overview

This project focuses on the automation testing of the Sweet Donut website using Cypress. The goal is to verify the core functionalities of the website, ensuring that critical features like login, search, cart management, checkout, and UI responsiveness work as expected across multiple devices. The tests are built with an emphasis on reusability and scalability to allow easy extension as the application evolves.

🛠️ Tools and Technologies Used

Cypress
JavaScript
GitHub
Page Object Model

📂 Features Tested

1.Search Functionality:

● Ensured that search results match expected results based on queries.
● Validated search filters like category, price, and brand.

2.Cart and Wishlist Management:

● Validated the ability to add, remove, and update products in both the cart and wishlist.
● Verified that the cart retains items across user sessions.

3.Checkout Process:

● Fully tested the checkout workflow, entering shipping details, and processing payments.
● Ensured that the order confirmation page is correctly displayed after completing the purchase.

4.UI Testing and Responsiveness:

● Verified that the website adjusts and looks correctly on desktop, tablet, and mobile screens.
● Ensured UI elements like buttons and navigation align properly across devices.

📄 Artifacts Included

This project includes various documentation and reports to ensure comprehensive coverage and traceability:

1.Test Scripts:

● Modular Cypress test scripts following the Page Object Model (POM), covering core features like login, search, cart management, and checkout.
● Each test case is structured to ensure reusability and maintainability, making the tests scalable.

2.Mindmap:

● A mindmap outlining the testing strategy, covering major areas of testing like functional, non-functional, UI, and API testing.
Mind Map

3.Test Plan:

● A comprehensive Test Plan document detailing the scope, objectives, testing types, strategy, resource requirements, and timelines.
● The plan outlines the testing approach for both manual and automated tests.
Test Plan

4.Test Cases:

● Manual test cases for non-functional testing covering performance, security, and usability tests.
● These cases ensure the application can handle large user loads, is secure, and provides a good user experience.
Test Cases

5.Bug Report:

● A detailed bug report listing all issues discovered during testing, including bug IDs, descriptions, severity, steps to reproduce, and status.
Bug Report

6.Test Summary Report:

● A summary of test execution results, including the number of test cases passed, failed and details on any major defects found.
● The report includes high-level recommendations based on the testing outcomes.
Summary Report

✨ Highlights

Page Object Model (POM): Used for organizing the test code in a way that makes it easier to maintain and scale over time.
Comprehensive Test Coverage: Includes functional, non-functional, UI, and regression testing for all major workflows.
Cross-Device Testing: Ensures that the application is responsive and functional across desktop, tablet, and mobile.
Bug Identification: Key bugs were found and categorized, providing insights into areas for improvement.
Detailed Documentation: The project includes essential documentation like the Test Plan, Test Summary, and Bug Report for transparency and traceability.

📝 Conclusion

This project successfully implemented Cypress-based automation tests for Sweet Donut Website. The tests cover key user functionalities and UI components, ensuring the website remains stable and user-friendly across various platforms. The use of Page Object Model (POM) made the test scripts modular, reducing code repetition and improving maintainability.

The identified bugs have been documented and shared with the development team to prioritize fixes. The Test Plan, and other artifacts ensure that the testing process was thorough and transparent.

About

Added comprehensive Cypress test scripts for Sweet Donut website, covering login, search, cart, and checkout functionalities. Integrated POM for maintainable code structure. Included key testing artifacts like Test Plan, Bug Report, and Test Summary for transparency. Validated cross-device responsiveness, identified critical bugs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors