Skip to content

Commit

Permalink
import reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Aug 28, 2024
1 parent 006cb46 commit 0e58c1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion game/end_to_end_tests/test_level_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from common.tests.utils.organisation import create_organisation_directly
from common.tests.utils.student import create_school_student_directly
from common.tests.utils.teacher import signup_teacher_directly
from django.urls import reverse
from hamcrest import assert_that, ends_with, equal_to
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.by import By
Expand Down Expand Up @@ -69,7 +70,7 @@ def test_redirect_to_levelless_episode(self):
expected_url = levels_page.browser.current_url

page = self._go_to_path(reverse("play_python_default_level", kwargs={"level_name": "41"}))

next_button = self.selenium.find_element(By.ID, "next_button")
assert WebDriverWait(self.selenium, 10).until(
EC.element_to_be_clickable(next_button)
Expand Down

0 comments on commit 0e58c1c

Please sign in to comment.