summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/tests.py
AgeCommit message (Collapse)Author
2015-12-30Refs #13614 -- Added test for admin's many-to-many widget data loss bug.Tim Graham
It looks like browsers have fixed the reported issue.
2015-12-23Fixed #25729 -- Fixed flaky admin_widgets selenium test: ↵Tim Graham
test_ForeignKey_using_to_field
2015-12-05Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
2015-12-03Fixed #25820 -- Allowed whitespace in admin's calendar.js month/weekday names.bphillips
This is useful for certain language translations.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-10-30Refs #25550 -- Removed reverse related set assignment in selenium tests.Tim Graham
2015-09-16Refs #25149 -- Fixed regression in admin datetime widget for timezones on ↵Gavin Wahl
the negative side of UTC.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-08-28Fixed #25323 -- Fixed selenium test failures with chromedriver 2.18.Tim Graham
2015-07-31Removed usage of selenium's deprecated switch_to_window() method.Tim Graham
2015-07-30Fixed #24444 -- Updated contrib.admin to use django-flat-themeelky
2015-06-22Refs #25006 -- Added a '6 p.m.' option to the admin's time picker.Tim Graham
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-03-30Fixed #24466 -- Added JavaScript escaping in a couple places in the admin.Tim Graham
Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
2015-03-05Fixed admin selenium tests broken by removal of fixtures.Tim Graham
2015-03-05Fixed #19538 -- Removed window.__admin_media_prefix__ from admin templates.Tim Graham
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-02-11Refs #14497 -- Handled empty readonly admin FileFieldsCollin Anderson
2015-02-08Replaced hardcoded URLs in admin_* testsClaude Paroz
Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-04Fixed #14497 -- Improved admin widget for "read only" FileFieldsRiccardo Magliocchetti
Based on patch by Adam J Forster, Paul Collins, and Julien.
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-10Fixed #13165 -- Added edit and delete links to admin foreign key widgets.Simon Charette
Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
2014-12-16Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.Diego Guimarães
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-14Fixed occasional selenium test failure on Jenkins with Chrome 36+.Tim Graham
Previously find_element_by_id('id_password') on the next line failed with NoSuchElementException and selenium.page_source was <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>. Possibly related: https://code.google.com/p/selenium/issues/detail?id=1969.
2014-08-14Fixed test failure on python 3.x.Florian Apolloner
2014-08-13Fixed #18767 -- Fixed admin calendar for other locales than English.Maxime Turcotte
Refactored openCalendar function from DateTimeShortcuts.js. Now, when entered manually in the input field, the date will show up correctly on the calendar for locales that don't use "-" for separator. Thanks charettes for revivew and Alexey Boriskin for some of the patch.
2014-08-12Fixed #23262 -- Made SelectFilter2.js move items on enter Key press.Collin Anderson
2014-07-24Removed usage of deprecated switch_to_*() selenium methods.Tim Graham
2014-07-07Fixed #22909 -- Removed camelCasing in some tests.Tim Graham
Thanks brylie.
2014-06-26Fixed #22894 -- Made admin add related/raw ID fields widgets customizable.Riccardo Magliocchetti
Decoupled behavior and style from the RelatedFieldWidgetWrapper and ForeignKeyRawIdWidget.
2014-06-02Revert "Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with ↵Tim Graham
choices" This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905.
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-03-22Made m2m fields form help_text munging specific to admin widgets.Ramiro Morales
Refs #9321 and follow-up to e80de93af6a0a21a9063a55c4d6d20e3927243e9.
2014-03-21Removed hard-coded help_text for ManyToManyFields that use a SelectMultiple ↵Tim Graham
widget Per deprecation timeline; refs #9321.
2014-01-14Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn
This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose.
2014-01-03Fixed selenium failure.Florian Apolloner
This fixes (at least according to tests on the ci itself) admin_widgets.tests.RelatedFieldWidgetSeleniumFirefoxTests.test_foreign_key_using_to_field (http://ci.djangoproject.com/job/Django/database=mysql_gis,python=python2.7/3792/testReport/junit/admin_widgets.tests/RelatedFieldWidgetSeleniumFirefoxTests/test_foreign_key_using_to_field/) The cause for this issue seems to be that wait_page_loaded was executed before click fired and as such no profile got saved (again just an educated guess, but with this fix I can no longer reproduce it -- fingers crossed).
2014-01-03Fixed a few flaky selenium tests.Florian Apolloner
Many thanks go to David Burns (@AutomatedTester) for helping me understand css selectors and pointing me towards the correct selenium methods.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-11-03Merging in masterJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-03Merge pull request #1853 from loic/dstAymeric Augustin
Fixed failing test around DST change.
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Fixed failing test around DST change.Loic Bistuer
The timezone arithmetic done in JS can be off by one hour around DST change. We work around this issue by adding one extra hour to the test error margin when we detect a DST change is near. Refs #20663.
2013-11-02Fixed all E261 warningscoagulant
2013-10-26Fix all violators of E231Alex Gaynor