From 8e350a50377be5f9b979056629565d5e657e195e Mon Sep 17 00:00:00 2001 From: Eve Martin Date: Wed, 28 Aug 2024 08:25:14 +0000 Subject: [PATCH] add test to test --- game/end_to_end_tests/test_level_selection.py | 3 +++ 1 file changed, 3 insertions(+) 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")) )