mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
b236be138d
commit
50ab0728a8
@ -237,6 +237,8 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
|
|||||||
within('#context-menu') do
|
within('#context-menu') do
|
||||||
click_link 'Watch'
|
click_link 'Watch'
|
||||||
end
|
end
|
||||||
|
# wait for ajax response
|
||||||
|
assert page.has_css?('#context-menu .issue-1-watcher.icon-fav')
|
||||||
assert page.has_css?('tr#issue-1')
|
assert page.has_css?('tr#issue-1')
|
||||||
end
|
end
|
||||||
assert Issue.find(1).watched_by?(User.find_by_login('jsmith'))
|
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
|
within('#context-menu') do
|
||||||
click_link 'Watch'
|
click_link 'Watch'
|
||||||
end
|
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-1')
|
||||||
assert page.has_css?('tr#issue-4')
|
assert page.has_css?('tr#issue-4')
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user