summaryrefslogtreecommitdiffstats
path: root/test/ui
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-06-14 05:14:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-06-14 05:14:29 +0000
commit6ccb68bd461a5fa5f22ace06b9260aecbbc82b51 (patch)
tree43ee2f9e5fcfe7a6b69ebbee05697129539a3fe7 /test/ui
parenteeb290d6502ba9acf591c65046ab79dbef0a9be6 (diff)
downloadredmine-6ccb68bd461a5fa5f22ace06b9260aecbbc82b51.tar.gz
redmine-6ccb68bd461a5fa5f22ace06b9260aecbbc82b51.zip
prevent UI test failure randomly
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11970 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/ui')
-rw-r--r--test/ui/issues_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ui/issues_test.rb b/test/ui/issues_test.rb
index 1f9ba457b..3cda6f80d 100644
--- a/test/ui/issues_test.rb
+++ b/test/ui/issues_test.rb
@@ -121,8 +121,9 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
click_button 'Add'
end
assert page.has_css?('form#issue-form')
- within('p#watchers_form') do
- assert page.has_content?('Some Watcher')
+ assert page.has_css?('p#watchers_form')
+ within('span#watchers_inputs') do
+ assert page.has_content?('Some Watcher'), "No watcher content"
end
assert_difference 'Issue.count' do
find('input[name=commit]').click