Skip to content

Commit

Permalink
Corrige un test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-D committed Apr 6, 2024
1 parent acfe8da commit 29f01dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zds/tutorialv2/tests/tests_front.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 29f01dc

Please sign in to comment.