https://bugzilla.wikimedia.org/show_bug.cgi?id=62932
Bug ID: 62932 Summary: unusual URL changes Firefox vs. Chrome Product: MobileFrontend Version: unspecified Hardware: All OS: All Status: NEW Keywords: browser-test-bug Severity: normal Priority: Unprioritized Component: General/Unknown Assignee: wikibugs-l@lists.wikimedia.org Reporter: cmcma...@wikimedia.org CC: aricha...@wikimedia.org, jgon...@wikimedia.org, jrob...@wikimedia.org, kw...@wikimedia.org, maxsem.w...@gmail.com, rkald...@wikimedia.org Web browser: --- Mobile Platform: --- 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. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l