# SoftyeOne Cypress Testing
This repository contains automated test scripts for **SoftyeOne** using [Cypress](https://www.cypress.io/).
It helps in validating application functionality, UI, and workflows with reliable end-to-end tests.
---
## 📂 Project Structure
- `cypress/` → Test cases and support files
- `e2e/` → End-to-End test scripts
- `fixtures/` → Test data (e.g., JSON files for inputs)
- `support/` → Custom commands and helpers
- `cypress.config.js` → Cypress configuration
- `allure-results/` → Test execution results (generated after running tests)
- `allure-report/` → HTML test reports (generated by Allure)
- `.allure/` → Allure internal files
- `package.json` → Project dependencies and scripts
---
## 🧪 Test Coverage
The following modules have been tested with Cypress:
| **Module** | **Number of Test Cases** | **Description** |
|--------------------------|---------------------------|-----------------|
| Sign Up Page | 12 | Validated user registration with required fields, input validations, and error handling for incorrect data. |
| Login Page | 10 | Tested login with valid/invalid credentials, error messages, and session handling. |
| Settings Page | 21 | Verified user settings updates including profile details, password change, and preferences. |
| Inventory Page | 38 | Ensured product addition, updates, deletion, and stock management functions work correctly. |
| Billing Invoice Page | 27 | Checked invoice creation, tax calculations, payment validations, and error scenarios. |
| All Invoice Page | 11 | Tested invoice listing, search, filtering, and download/export functionality. |
| Customer Page | 21 | Validated customer addition, update, deletion, and viewing customer details. |
| Dashboard Page | 13 | Confirmed dashboard widgets, quick links, data visualization, and navigation. |
| User Management | 24 | Tested user roles, permissions, account creation, updates, and access control. |
✅ **Total Test Cases Automated: 177**
---
## 🚀 Installation
1. Clone the repository:
```bash
git clone https://github.com/MahalakshmiMohan21/SoftyeOne-Cypress-Testing.git
cd SoftyeOne-Cypress-Testing-
Install dependencies:
npm install
Run Cypress tests in headless mode:
npx cypress runRun Cypress tests in interactive mode:
npx cypress open-
Generate Allure results:
npx cypress run
-
Generate and open the report:
allure generate allure-results --clean -o allure-report allure open allure-report