for snapshot tests it seems better to diff a data representation such as some yaml string, than to diff UIs