How to prioritize test cases in end-to-end testing