1. Unofficial Redmine Clones
  2. Untitled project
  3. redmine-all

Commits

Toshi MARUYAMA  committed 1d64882

prevent UI test failure randomly

  • Participants
  • Parent commits eab37d3
  • Branches default

Comments (0)

Files changed (1)

File test/ui/issues_test.rb

View file
     end
     assert page.has_css?('form#issue-form')
     assert page.has_css?('p#watchers_form')
-    within('span#watchers_inputs') do
-      within("label#issue_watcher_user_ids_#{user.id}") do
-        assert has_content?('Some Watcher'), "No watcher content"
+    using_wait_time(30) do
+      within('span#watchers_inputs') do
+        within("label#issue_watcher_user_ids_#{user.id}") do
+          assert has_content?('Some Watcher'), "No watcher content"
+        end
       end
     end
     assert_difference 'Issue.count' do