Cypress · Junior · Question 1 of 75
Where do Cypress tests run?
- 1Only in Node.js, without any browser at all
- 2On a remote server that controls the browser over HTTP
- 3Inside the browser, next to the app under test
Show the answer
Correct answer: Inside the browser, next to the app under test
Explanation
Cypress runs test code in the same browser run loop as the app, with a Node.js process alongside for tasks like files and network proxying. That's why it can read app state directly.