diff --git a/game/end_to_end_tests/test_level_selection.py b/game/end_to_end_tests/test_level_selection.py index f3cc032fa..c0c7f4095 100644 --- a/game/end_to_end_tests/test_level_selection.py +++ b/game/end_to_end_tests/test_level_selection.py @@ -69,6 +69,9 @@ def test_redirect_to_levelless_episode(self): expected_url = levels_page.browser.current_url page = self.go_to_level(41, True) + modal_title = self.selenium.find_element(By.ID, "myModal-title") + assert modal_title == "this will fail" + assert WebDriverWait(self.selenium, 10).until( EC.visibility_of_element_located((By.ID, "next_button")) )