Front-end testing of dashboard code