Skip to content

Commit

Permalink
Tenter de corriger la CI
Browse files Browse the repository at this point in the history
Par exemple:
```
FAILED sv/tests/test_fichedetection_form.py::test_add_lieu_form_is_empty_after_edit - playwright._impl._errors.Error: Locator.fill: Error: Element is not an <input>, <textarea> or [contenteditable] element
```
  • Loading branch information
Anto59290 committed Oct 29, 2024
1 parent 09022ea commit 292e4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def mocked(self, request):
def choice_js_fill(db, page):
def _choice_js_fill(page, locator, fill_content, exact_name):
page.query_selector(locator).click()
page.wait_for_selector("*:focus", state="visible", timeout=2_000)
page.wait_for_selector("input:focus", state="visible", timeout=2_000)
page.locator("*:focus").fill(fill_content)
page.get_by_role("option", name=exact_name, exact=True).click()

Expand Down

0 comments on commit 292e4e1

Please sign in to comment.