Cypress interview questions — Hard
176 hard-level Cypress questions from our Automation Testing bank, each with the correct answer and an explanation of why it is correct.
What this covers
Cypress appears throughout Automation Testing interviews. At hard level, interviewers are typically checking depth under pressure — edge cases, failure modes, performance characteristics, and the trade-offs you accepted. Work through these, then explain your answer out loud; the second part is what interviews actually test.
5 example questions
1. Regarding Cypress, which of the following is a false statement?
- A. Cy.session() caches login/session state between tests to speed up suites.
- B. Cy.intercept() can spy on, stub, or modify network requests and responses.
- C. Cypress Test Replay / Cloud can record runs for debugging and parallelization.
- D. Cypress executes tests over the WebDriver protocol like Selenium.correct
Why: The selected statement is false. The other options are accurate statements about Cypress.
2. Which of the following statements about Cypress is FALSE?
- A. Cypress requires manual sleep() calls because it has no automatic retry.correct
- B. Cypress Test Replay / Cloud can record runs for debugging and parallelization.
- C. Cypress Component Testing mounts individual framework components (React, Vue, Angular) for isolated testing.
- D. Cypress runs inside the browser alongside the application, giving native access to the DOM.
Why: The selected statement is false. The other options are accurate statements about Cypress.
3. Which statement about Cypress is NOT correct?
- A. Cypress commands return values synchronously that you can assign with const el = cy.get(...).correct
- B. Cypress Test Replay / Cloud can record runs for debugging and parallelization.
- C. Cy.session() caches login/session state between tests to speed up suites.
- D. Cy.intercept() can spy on, stub, or modify network requests and responses.
Why: The selected statement is false. The other options are accurate statements about Cypress.
4. Identify the INCORRECT statement about Cypress:
- A. Cypress runs inside the browser alongside the application, giving native access to the DOM.
- B. Component testing in Cypress launches the entire application backend.correct
- C. Cy.intercept() can spy on, stub, or modify network requests and responses.
- D. Cypress historically runs tests in a single browser tab and has limited multi-tab support.
Why: The selected statement is false. The other options are accurate statements about Cypress.
5. A key architectural fact about Cypress is that it:
- A. Runs remotely via WebDriver.
- B. Executes in the browser in the app's run loop.correct
- C. Only supports headless Chrome.
- D. Cannot stub requests.
Why: Cypress runs inside the browser with native access and auto-waiting.