I got an answer on the capybara forums.
Looks like it was a browser focus issue as @tgf mentioned (in the link)
Thanks.