Opened 7 years ago

Closed 7 years ago

#24101 closed Bug (fixed)

Flaky admin_views selenium tests

Reported by: Tim Graham Owned by: Tim Graham
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The two tests added in f5cfd09c257e5a4ed6d01d32505c48b02e3860d5 fail on occasion on Jenkins:

admin_views.tests.SeleniumAdminViewsChromeTests.test_cancel_delete_confiration

Traceback (most recent call last):
  File "/home/jenkins/workspace/pull-requests-selenium/database/sqlite3/python/python3.4/tests/admin_views/tests.py", line 3904, in test_cancel_delete_confirmation
    self.assertEqual(self.selenium.current_url, full_url)
AssertionError: 'http://localhost:8081/test_admin/admin/admin_views/pizza/1/delete/' != 'http://localhost:8081/test_admin/admin/admin_views/pizza/1/'
admin_views.tests.SeleniumAdminViewsChromeTests.test_cancel_delete_related_confirmation

Traceback (most recent call last):
  File "/home/jenkins/workspace/pull-requests-selenium/database/sqlite3/python/python3.4/tests/admin_views/tests.py", line 3922, in test_cancel_delete_related_confirmation
    self.assertEqual(self.selenium.current_url, full_url)
AssertionError: 'http://localhost:8081/test_admin/admin/admin_views/pizza/2/delete/' != 'http://localhost:8081/test_admin/admin/admin_views/pizza/2/'

Change History (2)

comment:1 Changed 7 years ago by Tim Graham

Has patch: set
Owner: changed from nobody to Tim Graham
Status: newassigned

comment:2 Changed 7 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In b8abfe141be17f20079f55b921dcaf7abe116c4b:

Fixed #24101 -- Fixed flaky admin_views selenium tests; refs #7361.

Note: See TracTickets for help on using tickets.
Back to Top