{{{
test_textarea_trailing_newlines
(forms_tests.tests.test_widgets.LiveWidgetTests)
test_select (admin_views.test_autocomplete_view.SeleniumTests)
test_prepopulated_fields (admin_views.tests.SeleniumTests)
test_date_time_picker_shortcuts
(admin_widgets.tests.DateTimePickerAltTimezoneSeleniumTests)
test_date_time_picker_shortcuts
(admin_widgets.tests.DateTimePickerShortcutsSeleniumTests)
test_select_multiple (admin_views.test_autocomplete_view.SeleniumTests)
test_first_field_focus (admin_views.tests.SeleniumTests)
}}}
Two of these failures do not appear at first to be related to the browser
itself, however interestingly enough they do not fail on Chrome at all and
reliably fail on Firefox.
I've also attached full stacktraces below.
--
Ticket URL: <https://code.djangoproject.com/ticket/29892>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "failures.txt" added.
Comment (by Simon Charette):
FWIW I had to disable selenium tests on a lot of projects on FF since they
moved to WebDriver as it broke a lot of stuff.
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:1>
* status: new => closed
* resolution: => needsinfo
Comment:
Yes, the selenium tests haven't worked on Firefox since the switch to
geckodriver. Feel free to reopen and submit a patch if you find that
Django is at fault.
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:2>
Comment (by Tom Forbes):
Ok, thanks for the info. If I have time to investigate I will look into
the two Python failures as they are the most suspicious.
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:3>
* cc: jon.dufresne@… (added)
Comment:
I think some of the failures are due to the behavior described in
https://github.com/mozilla/geckodriver/issues/878 That is, the current
page isn't invalidated after a `.submit()` call so selenium driver doesn't
wait for a page reload.
If I understand the Firefox people correctly, `Element.submit()` should
not be used as it isn't a WebDriver primitive.
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:4>
* has_patch: 0 => 1
Comment:
PR https://github.com/django/django/pull/12147 for tests:
{{{
test_date_time_picker_shortcuts
(admin_widgets.tests.DateTimePickerAltTimezoneSeleniumTests)
test_date_time_picker_shortcuts
(admin_widgets.tests.DateTimePickerShortcutsSeleniumTests)
}}}
(I think this ticket should be reopened.)
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:5>
* status: closed => new
* resolution: needsinfo =>
* stage: Unreviewed => Accepted
Comment:
PR to fix all tests with Firefox.
https://github.com/django/django/pull/12149
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:6>
Comment (by Carlton Gibson <carlton.gibson@…>):
In [changeset:"f0ed38edf33947fad539d43b7b3fbabf82816518" f0ed38ed]:
{{{
#!CommitTicketReference repository=""
revision="f0ed38edf33947fad539d43b7b3fbabf82816518"
Refs #29892 -- Replaced Selenium .submit() shim with .click() on the
submit button.
There is no WebDriver submit primitive. The Selenium project implements
it as a convenience only. The geckodriver developers recommend against
using it. Replace it with a real primitive, click on the submit button.
Fixes failing Seleninum test test_date_time_picker_shortcuts when using
the Firefox Selenium driver.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:7>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"875e3ff4fd883e11008ca9dfcf02b8314c57c0a6" 875e3ff4]:
{{{
#!CommitTicketReference repository=""
revision="875e3ff4fd883e11008ca9dfcf02b8314c57c0a6"
Fixed #29892 -- Added .wait_page_loaded() in
SeleniumTests.test_first_field_focus().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:8>
* status: closed => new
* resolution: fixed =>
Comment:
Ooops. I should have updated the commit message on
875e3ff4fd883e11008ca9dfcf02b8314c57c0a6 to be `Refs`.
[https://github.com/django/django/pull/12152 PR12152] is still incoming.
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:9>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:10>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"c33eb6dcd0c211f8f02b2976fe3b3463f0a54498" c33eb6d]:
{{{
#!CommitTicketReference repository=""
revision="c33eb6dcd0c211f8f02b2976fe3b3463f0a54498"
Fixed #29892 -- Added explicit Selenium wait in admin autocomplete tests.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:11>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"65285d1e7dc72f10ba69ab53b6fe5eb6b9ce3123" 65285d1e]:
{{{
#!CommitTicketReference repository=""
revision="65285d1e7dc72f10ba69ab53b6fe5eb6b9ce3123"
Refs #29892 -- Made Selenium tests wait for popups to be ready.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29892#comment:12>