1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed broken selenium tests after 42b9a23267.

This commit is contained in:
Mariusz Felisiak
2019-06-30 20:35:05 +02:00
committed by GitHub
parent d54baf6970
commit 8fc8c958a5
2 changed files with 2 additions and 2 deletions

View File

@@ -1393,7 +1393,7 @@ class RelatedFieldWidgetSeleniumTests(AdminWidgetSeleniumTestCase):
# Go ahead and submit the form to make sure it works
self.selenium.find_element_by_css_selector(save_button_css_selector).click()
self.wait_for_text('li.success', 'The profile "changednewuser" was added successfully.')
self.wait_for_text('li.success', 'The profile changednewuser was added successfully.')
profiles = Profile.objects.all()
self.assertEqual(len(profiles), 1)
self.assertEqual(profiles[0].user.username, username_value)