In the course of shoring up the Chrome builds for browser tests, I noticed this unusual behavior. This may be a WONTFIX, but I thought I would report it in case.
Run the browser test mainmenu.feature. The step in question is:
Given(/^I am on the "(.+)" page$/) do |article|
visit(ArticlePage, :using_params => {:article_name => article})
end
and the |article| param is "Main Page" (not "Main_Page")
Watch the URLs for "Main_Page" as the test runs
In Firefox the URL changes from
"Main_Page" to "Main Page"
In Chrome the URL changes from
"Main_Page" to "Main%20Page"
The issue for the browser tests was that checking the URL depends on the browser reporting correctly that it was done processing all of the URL changes and had reached its final state. This was true for Firefox, but Chrome seems to be reporting final state before all the URL switching, thus causing the test to fail for Chrome only.
I added an implicit wait to the test so that the test would pass without an explicit sleep() command, but I thought the URL munging was unusual enough to report.
Version: unspecified
Severity: normal