Front-end testing helpers