Framework Mode - Screenshot capture (cy.screenshot)
Folder Structure
cypress/ ├── e2e/ # Test specs │ ├── login.cy.js # Example test file │ └── dashboard.cy.js ├── fixtures/ # Test data files (JSON) │ └── users.json ├── support/ # Custom commands and utilities │ ├── commands.js # Custom Cypress commands │ └── e2e.js # Support file loaded before tests ├── screenshots/ # Automatically saved screenshots └── videos/ # Automatically saved videos cypress.config.js # Cypress configuration file