Cypress · Junior · Question 32 of 75
What are fixtures in Cypress?
- 1Browser extensions installed for tests
- 2Hooks that run before every single test
- 3Static data files, usually in
cypress/fixtures
Show the answer
Correct answer: Static data files, usually in cypress/fixtures
Explanation
Fixtures hold JSON or other data for stubs and test inputs. Load them with cy.fixture() or reference them in cy.intercept.