It appears that Russia fell for the same ruse that much of America, not to mention its press and punditry, was taken by, at least according to the FBI director: believing US polls.
During his hearing before the House Intel Panel, FBI Director James Comey said that the Russians expected Hillary Clinton to win the presidency over Donald Trump as of August and September.