summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/system/issues_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb
index b4dc0e6df..4a1a44ffd 100644
--- a/test/system/issues_test.rb
+++ b/test/system/issues_test.rb
@@ -351,6 +351,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
log_user('admin', 'admin')
visit '/issues/1'
+ assert page.first('#journal-2-notes').has_content?('Some notes with Redmine links')
# Click on the edit button
page.first('#change-2 a.icon-edit').click
# Check that the textarea is displayed
@@ -365,7 +366,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
# Save
click_on 'Save'
- sleep 0.2
+ assert page.first('#journal-2-notes').has_content?('Updated notes')
assert_equal 'Updated notes', Journal.find(2).notes
end