IssuesSystemTest#test_bulk_watch_issues_via_context_menu randomly fails due to Capybara clicks out out of context menu
|Assignee:||Go MAEDA||% Done:|
Sometimes, the IssuesSystemTest#test_bulk_watch_issues_via_context_menu test fails for click_link loosing the focus on the context menu entry.
Refer to this comment: http://aokolish.me/blog/2012/01/22/testing-hover-events-with-capybara/#comment-2118167329
Adding sleeps either before or after click_link has no effect instead.
How to reproduce:
the following fails sporadically
RAILS_ENV=test bundle exec rails test:system TESTOPTS="-n '/^(?:IssuesSystemTest#(?:test_bulk_watch_issues_via_context_menu))$/'"
Attached my proposed path. Thanks
#3 Updated by Go MAEDA about 1 month ago
- Subject changed from System tests: Capybara sometimes clicks out of context menu to IssuesSystemTest#test_bulk_watch_issues_via_context_menu randomly fails due to Capybara clicks out out of context menu
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the fix. Thank you.