summaryrefslogtreecommitdiffstats
path: root/test/system
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-06-28 16:36:57 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-06-28 16:36:57 +0000
commit247164679af2c79811e6ee80c8d86f20d7063bb4 (patch)
treee8aa0b2787fc001925edff3f0cf602b75057f0a0 /test/system
parente75a7f39398b422bb04ad677bceb57b74f709935 (diff)
downloadredmine-247164679af2c79811e6ee80c8d86f20d7063bb4.tar.gz
redmine-247164679af2c79811e6ee80c8d86f20d7063bb4.zip
remove "sleep" from IssuesSystemTest#test_update_journal_notes_with_preview
git-svn-id: http://svn.redmine.org/redmine/trunk@19840 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system')
-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