All quizzes
Free quiz · 19 questions in the bank

BackstopJS quiz

Test your BackstopJS knowledge with a free interactive quiz — 19 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is the purpose of the `viewports` array in a BackstopJS configuration?

Questions in this quiz
  1. What is the purpose of the `viewports` array in a BackstopJS configuration?
  2. What does `backstop init` do when setting up a new BackstopJS project?
  3. What is a key difference between BackstopJS and a cloud-hosted visual testing service (like Chromatic or Percy) in terms of operational responsibility?
  4. What does the `selectors` array in a BackstopJS scenario control?
  5. What is a "scenario" in a BackstopJS configuration (`backstop.json`)?
  6. What does `backstop approve` do after a `backstop test` run shows failing diffs?
  7. What is `onBeforeScript`/`onReadyScript` used for in a BackstopJS scenario?
  8. What is `clickSelectors`/`hoverSelector` used for in a BackstopJS scenario?
  9. What is the difference between `backstop reference` and `backstop test`?
  10. What rendering engines can BackstopJS use to capture screenshots?
  11. What is `removeSelectors` (or `hideSelectors`) used for in BackstopJS?
  12. What does the BackstopJS HTML report generated after `backstop test` show?
Gaps to close?
Read the curated BackstopJS notes — core concepts, patterns, interview prep.
BackstopJS notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web