Introduction
We use cy.fixture() to load test data from files. This helps keep tests clean and easy to update.
When you want to reuse the same test data in many tests.
When test data is too big or complex to write inside the test code.
When you want to separate test data from test logic for clarity.
When you want to test with different sets of data without changing the test code.