Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] (Hopefully) fixed a failure in a selenium test.

No forward port to 1.6 since it has new transactionmanagement. The
wait_page_loaded should ensure that the liveserver has time to tear
down properly after the submit.
  • Loading branch information...
commit 4770fc1c625351f0f2cc60553db773c8a89ac230 1 parent 4607c73
@apollo13 apollo13 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/regressiontests/forms/tests/widgets.py
View
1  tests/regressiontests/forms/tests/widgets.py
@@ -1112,6 +1112,7 @@ def test_textarea_trailing_newlines(self):
self.selenium.get('%s%s' % (self.live_server_url,
reverse('article_form', args=[article.pk])))
self.selenium.find_element_by_id('submit').submit()
+ self.wait_page_loaded()
article = Article.objects.get(pk=article.pk)
# Should be "\nTst\n" after #19251 is fixed
self.assertEqual(article.content, "\r\nTst\r\n")
Please sign in to comment.
Something went wrong with that request. Please try again.