Opened 13 years ago

Last modified 12 years ago

#17826 closed Bug

Failures in Firefox+Windows 7+Admin filter tests — at Version 2

Reported by: Ramiro Morales Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: charette.s@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramiro Morales)

Ran the admin_widgets regression tests as of now are run with both the Firefox and Chrome Selenium drivers active.

Chrome tests run without errors, Firefox ones show two failures:

(selenium) C:\...\django\trunk\tests>python runtests.py --settings=test_sqlite admin_widgets
Creating test database for alias 'default'...
Creating test database for alias 'other'...
..........................................FF
======================================================================
FAIL: test_basic (regressiontests.admin_widgets.tests.HorizontalVerticalFilterSeleniumFirefoxTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\...\django\trunk\tests\regressiontests\admin_widgets\tests.py", line 604, in test_basic
    [self.arthur, self.cliff, self.jason, self.john])
AssertionError: Lists differ: [<Student: Lisa>, <Student: Pe... != [<Student: Arthur>, <Student: ...

First differing element 0:
Lisa
Arthur

Second list contains 2 additional elements.
First extra element 2:
Jason

- [<Student: Lisa>, <Student: Peter>]

Versions:

  • Firefox: 10.0.2
  • selenium Python module: 2.20.0
  • Chrome: 17.0.963.56 m
  • Windows: 7 64 bits

Change History (2)

comment:1 by Simon Charette, 13 years ago

Cc: charette.s@… added

Ran the tests with FF11 on ubuntu 12.04 64 bits and it works fine

(django-trunk)simon@simon-laptop:~/Developpement/django-trunk/tests$ ./runtests.py admin_widgets --settings=test_sqlite --liveserver=localhost:8082
Creating test database for alias 'default'...
Creating test database for alias 'other'...
......................................s.s..
----------------------------------------------------------------------
Ran 41 tests in 21.377s

OK (skipped=2)
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...

Can you update your version and FF and see if it fixes it?

comment:2 by Ramiro Morales, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top