Framework Mode - Token-based authentication
Folder Structure
cypress/ ├── e2e/ │ ├── login.cy.js # Tests that use token-based authentication │ ├── dashboard.cy.js # Tests for authenticated pages │ └── ... ├── fixtures/ │ └── user.json # Test data like user credentials ├── support/ │ ├── commands.js # Custom commands including token login │ ├── auth.js # Helper functions for token handling │ └── index.js # Support file loaded before tests ├── plugins/ │ └── index.js # Cypress plugins if needed cypress.config.js # Cypress configuration file