Framework Mode - cy.parent() and cy.children()
Folder Structure of a Cypress Test Project
cypress/
├── e2e/ # Test specs
│ ├── login.cy.js # Example test file
│ └── navigation.cy.js # Another test file
├── fixtures/ # Test data files (JSON)
│ └── users.json
├── support/ # Custom commands and utilities
│ ├── commands.js # Custom Cypress commands
│ └── e2e.js # Support file loaded before tests
└── pages/ # Page Object files
└── navigationPage.js
cypress.config.js # Cypress configuration file