1
0
mirror of https://github.com/django/django.git synced 2024-12-28 03:55:50 +00:00
django/tests/admin_views
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
..
templates
__init__.py
admin.py Fixed #31558 -- Added support for boolean attribute on properties in ModelAdmin.list_display. 2023-09-16 20:54:26 +02:00
custom_has_permission_admin.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
customadmin.py Fixed #7497 -- Allowed overriding the order of apps and models in admin. 2022-03-25 10:33:44 +01:00
forms.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
models.py [5.0.x] Fixed #34944 -- Made GeneratedField.output_field required. 2023-11-14 20:22:33 +01:00
test_actions.py Refs #34342 -- Added tests for handling sync streaming responses by test client. 2023-02-17 10:48:00 +01:00
test_adminsite.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_autocomplete_view.py Refs #9602 -- Moved AlreadyRegistered/NotRegistered exceptions to django.contrib.admin.exceptions. 2023-07-07 13:22:06 +02:00
test_breadcrumbs.py Fixed #34512 -- Restored breadcrumbs on admin app index view. 2023-04-26 08:36:56 +02:00
test_forms.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_history_view.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_multidb.py Fixed various tests on MySQL with MyISAM storage engine. 2022-04-18 07:05:52 +02:00
test_nav_sidebar.py [5.0.x] Fixed #34905 -- Corrected admin's main content element rendered in <main> tag. 2023-10-19 17:26:15 +02:00
test_related_object_lookups.py Fixed #34628 -- Improved icons accessibility of related widget wrapper in admin. 2023-06-12 08:31:28 +02:00
test_skip_link_to_content.py Removed obsolete test_skip_link_is_skipped_when_there_is_searchbar test. 2022-09-28 11:27:11 +02:00
test_templatetags.py Fixed #34301 -- Made admin's submit_row check add permission for "Save as new" button. 2023-02-07 07:01:10 +01: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
views.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00