diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-10 10:24:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-10 10:24:19 +0000 |
commit | 50ab0728a8fdc08ccc94a4a07e1c8c46ddff3ca9 (patch) | |
tree | 123bb0de54fb652e4cfd9e155f706e860a8a8dc8 /test/ui | |
parent | b236be138d0c8a7c59882a180d3c6ce70ebaac8c (diff) | |
download | redmine-50ab0728a8fdc08ccc94a4a07e1c8c46ddff3ca9.tar.gz redmine-50ab0728a8fdc08ccc94a4a07e1c8c46ddff3ca9.zip |
Time dependend failures in UI tests (#18789).
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13861 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/ui')
-rw-r--r-- | test/ui/issues_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ui/issues_test.rb b/test/ui/issues_test.rb index be9a52f38..f45f0990c 100644 --- a/test/ui/issues_test.rb +++ b/test/ui/issues_test.rb @@ -237,6 +237,8 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base within('#context-menu') do click_link 'Watch' end + # wait for ajax response + assert page.has_css?('#context-menu .issue-1-watcher.icon-fav') assert page.has_css?('tr#issue-1') end assert Issue.find(1).watched_by?(User.find_by_login('jsmith')) @@ -254,6 +256,8 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base within('#context-menu') do click_link 'Watch' end + # wait for ajax response + assert page.has_css?('#context-menu .issue-bulk-watcher.icon-fav') assert page.has_css?('tr#issue-1') assert page.has_css?('tr#issue-4') end |