Framework Mode - Child commands
Folder Structure of a Cypress Test Project
cypress/ ├── e2e/ # Test specs (test cases) │ ├── login.cy.js # Example test file │ └── dashboard.cy.js ├── support/ # Custom commands and reusable code │ ├── commands.js # Custom child commands defined here │ ├── e2e.js # Support file loaded before tests │ └── index.js # Entry point for support files ├── fixtures/ # Test data files (JSON, etc.) │ └── user.json └── cypress.config.js # Cypress configuration file