Skip to content

Commit

Permalink
add test to test
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Aug 28, 2024
1 parent bd59090 commit 8e350a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions game/end_to_end_tests/test_level_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
)
Expand Down

0 comments on commit 8e350a5

Please sign in to comment.