diff --git a/zds/tutorialv2/tests/tests_front.py b/zds/tutorialv2/tests/tests_front.py index d53ec66d64..02e0086629 100644 --- a/zds/tutorialv2/tests/tests_front.py +++ b/zds/tutorialv2/tests/tests_front.py @@ -155,9 +155,7 @@ def test_the_editor_forgets_its_content_on_form_submission(self): "content:create-content", kwargs={"created_content_type": "ARTICLE"} ) selenium.get(new_article_url) - WebDriverWait(self.selenium, 10).until( - ec.element_to_be_clickable((By.CSS_SELECTOR, "input[type=checkbox][name=subcategory]")) - ).click() + WebDriverWait(self.selenium, 10).until(ec.element_to_be_clickable((By.CSS_SELECTOR, "#id_title"))).click() self.find_element("#id_title").send_keys("Oulipo")