Cypress · Junior · Question 58 of 75
What is Cypress component testing?
- 1Testing components only in Node with jsdom
- 2Testing the internal components of Cypress itself
- 3Mounting single components in a real browser to test them
Show the answer
Correct answer: Mounting single components in a real browser to test them
Explanation
Component tests mount a React, Vue or Angular component with cy.mount() and use the same commands and assertions.