How to write automated UI tests for electron

My Page uses React technology.