Skip to content
Testing·Intermediate·Conceptual·1 min read

When is a visual test worth its maintenance cost?

Short interview answer

For design-system components and key pages where appearance is a contract and CSS refactors are frequent, the cost is justified. For one-off internal screens that rarely change and where minor visual drift doesn't matter, it usually is not.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Visual and snapshot testing

Related questions