# Troubleshooting

Fix common Visual Tests problems - dynamic content, flaky rendering diffs, authenticated pages, and lazy-loaded elements.

## Contents

- [Dynamic Content](/docs/tests/visual-tests/troubleshooting/dynamic-content.md) - Stop dynamic and animated page fragments from generating visual diffs on every run by ignoring them with XPath or CSS selectors.
- [Flaky rendering](/docs/tests/visual-tests/troubleshooting/flaky-rendering.md) - Deal with false-positive visual diffs caused by rendering noise - antialiasing, shadows, and rounded corners - by tuning the diff threshold.
- [Authentication & Network](/docs/tests/visual-tests/troubleshooting/authentication-network.md) - Run visual tests on pages behind a login - configure request headers, cookies, and local storage keys so snapshots capture authenticated views.
- [Lazy loading](/docs/tests/visual-tests/troubleshooting/lazy-loading.md) - Handle lazy-loaded and late-rendering content in visual tests with wait-for-selector, delays, and timeouts.

---
Original source: https://buddy.works/docs/tests/visual-tests/troubleshooting