How to test UI

screenshot and snapshot testing