Framework Mode - Cypress architecture (runs in browser)
Folder Structure
cypress/ ├── e2e/ # Test files (end-to-end tests) │ ├── login.cy.js # Example test for login │ └── dashboard.cy.js # Example test for dashboard ├── fixtures/ # Static test data (JSON, images) │ └── user.json ├── support/ # Custom commands and reusable code │ ├── commands.js # Custom Cypress commands │ └── e2e.js # Global support file loaded before tests └── videos/ # Automatically saved test run videos cypress.config.js # Main Cypress configuration file package.json # Project dependencies and scripts