Playwright Debugging and Reporting MCQ Mock Test (200 Questions)

← All Playwright mock interview topics

Test your knowledge of Debugging and Reporting with a timed Playwright MCQ mock test. Each attempt gives you 20 random questions in 20 minutes from a 200-question bank covering the Inspector, –debug and page.pause, UI Mode and VS Code debugging, trace modes and the Trace Viewer tabs, common error messages, built-in reporters (list, dot, line, html, json, junit, github, blob), merging shard reports, custom reporters and Allure reporting. Submit to see your score, the correct answers and an explanation for every question.

Advertisement

What this mock test covers

The questions follow Module 11 of the free Playwright with TypeScript tutorial. Revise these lessons if a question catches you out:

Advertisement

Sample questions with answers

  • Q. Which command runs tests with the Playwright Inspector?
    Answer: npx playwright test –debug
    `–debug` runs headed, opens the Inspector and pauses before the first action.
  • Q. What does `–debug` do to timeouts?
    Answer: Sets the test timeout to 0 (no timeout) so you can step through calmly
    Debug sessions are not limited by the normal test timeout.
  • Q. How do you debug a single test at a specific line?
    Answer: npx playwright test login.spec.ts:25 –debug
    Combine `file:line` with `–debug`.
  • Q. What does the 'Step over' button in the Inspector do?
    Answer: Executes the next Playwright action and pauses again
    You see each action's effect in the browser.
  • Q. What does the 'Resume' button in the Inspector do?
    Answer: Continues execution until the next pause or the end
    Use it to run to a later `page.pause()`.

Ready for more? Go back to the Playwright mock interview dashboard to track your overall interview readiness across all topics.

Advertisement

Frequently asked questions

How many questions does the Debugging and Reporting mock test have?

The question bank has 200 questions. Each test picks 20 at random, favouring questions you have not seen, so about 10 attempts cover the full bank.

What is the pass mark?

You pass a test with 70% or more, which is 14 of 20 questions correct.

Can I retake the test?

Yes. Retake as often as you like. Every retake draws a fresh set of 20 questions and counts toward your 20-exam readiness target.