Cypress · Junior · Question 32 of 75

What are fixtures in Cypress?

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.

Further reading

Problem with a question

Cypress · Junior · question 32

Test yourself

Take the Cypress · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz