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. 1. Regarding Cypress, which of the following is a false statement?

    • A. Cypress historically runs tests in a single browser tab and has limited multi-tab support.
    • B. Cypress Test Replay / Cloud can record runs for debugging and parallelization.
    • C. Cy.wrap() lets you use Cypress commands and assertions on plain JavaScript values or promises.
    • D. Cypress supports WebKit/Safari as fully as Chrome with no experimental flags in every version.correct

    Why: The selected statement is false. The other options are accurate statements about Cypress.

  2. 2. In a CI/CD pipeline review, consider this: 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.

  3. 3. Which statement about Cypress is NOT correct?

    • A. Cy.wrap() lets you use Cypress commands and assertions on plain JavaScript values or promises.
    • B. Cypress automatically retries assertions and queries until timeout, reducing explicit waits.
    • C. Cy.session() caches login/session state between tests to speed up suites.
    • D. Fixtures in Cypress can only contain JavaScript code, not JSON data.correct

    Why: The selected statement is false. The other options are accurate statements about Cypress.

  4. 4. Which of the following statements about Cypress is FALSE?

    • A. Cypress Test Replay / Cloud can record runs for debugging and parallelization.
    • B. Cypress fully supports controlling multiple browser tabs simultaneously in all versions.correct
    • C. Cypress automatically retries assertions and queries until timeout, reducing explicit waits.
    • D. Cy.session() caches login/session state between tests to speed up suites.

    Why: The selected statement is false. The other options are accurate statements about Cypress.

  5. 5. Identify the INCORRECT statement about Cypress:

    • A. Cypress historically runs tests in a single browser tab and has limited multi-tab support.
    • B. Cy.intercept() can spy on, stub, or modify network requests and responses.
    • C. Cypress executes tests over the WebDriver protocol like Selenium.correct
    • D. Cypress Test Replay / Cloud can record runs for debugging and parallelization.

    Why: The selected statement is false. The other options are accurate statements about Cypress.

Related Automation Testing topics