In Cypress, a Fixture is a static file that holds data you can use to simulate network responses or provide input for your tests. Think of it as a 'data double.' Instead of relying on a live database or a real API (which might change or be slow), you store a JSON, image, or text file in the cypress/fixtures folder and tell Cypress to use that data whenever a specific action happens.
Simulate API responses
Store reusable test data (e.g. user profiles, login credentials)
Mock backend data during testing
It is used keep credentials/config out of code
Default location is cypress/fixtures/