Snapshot Testing
Snapshot Testing is a special form of DOM testing, where a full representation of a (part of the) DOM is compared to a good version.
1 Advantages
1.1 Easy to write
A snapshot test is usually very easy to write, and not much thought has to be put into writing complex assertions.
2 Disadvantages
2.1 Hard to maintain / inflexible
Any change to the DOM that is tested will cause the test to fail. While this is great for critical parts of the DOM that have to have a very specific structure, in most cases it tends to become a burden, as some things about the structure might not be important. While not as hard to maintain as screenshot tests, they still break quite often when nothing is actually wrong.