mirror of https://github.com/django/django.git
Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+.
This commit is contained in:
parent
6e8303d49b
commit
b08a18f17b
|
@ -16,6 +16,6 @@ class LiveWidgetTests(AdminSeleniumTestCase):
|
|||
"""
|
||||
article = Article.objects.create(content="\nTst\n")
|
||||
self.selenium.get(self.live_server_url + reverse('article_form', args=[article.pk]))
|
||||
self.selenium.find_element_by_id('submit').submit()
|
||||
self.selenium.find_element_by_id('submit').click()
|
||||
article = Article.objects.get(pk=article.pk)
|
||||
self.assertEqual(article.content, "\r\nTst\r\n")
|
||||
|
|
Loading…
Reference in New Issue