AI-based end-to-end testing