Add e2e test for switching the flashcard over