1
0
mirror of https://github.com/django/django.git synced 2024-12-28 03:55:50 +00:00
django/tests/admin_widgets
Sarah Boyce 9fe12b0f36 [5.0.x] Refs #34995 -- Made Selenium tests more robust for admin_views and admin_widgets suites.
Depending on screen sizes, the selenium tests that would "click" or interact
with an element outside the scope of the visible window would produce test
failures (raising ElementNotInteractableException in CI runs).

This branch switches those to using ActionChains, which ensures that the click
(or other interaction) is performed only after successfully completing the
move to the relevant element.

Co-authored-by: Tom Carrick <tom@carrick.eu>

Backport of af2fd36815 from main
2023-11-30 17:09:09 -03:00
..
__init__.py
models.py Refs #19215 -- Fixed admin_widgets tests if Pillow isn't installed. 2022-10-27 08:41:03 +02:00
test_autocomplete_widget.py Fixed #33888 -- Fixed get_select2_language() crash with no language activated. 2022-08-03 19:51:25 +02:00
tests.py [5.0.x] Refs #34995 -- Made Selenium tests more robust for admin_views and admin_widgets suites. 2023-11-30 17:09:09 -03:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
widgetadmin.py Fixed #19215 -- Fixed rendering ClearableFileInput when editing with invalid files. 2022-10-25 16:53:52 +02:00