groupon/testium — pull request #12 by EndangeredMassa (2014-01-09 01:29:23+00:00)
Title: allow hashes in urls to match what the proxy expects

When a test attempted to `navigateTo '/#something', the proxy would expect to see `/#something`, but would only see `/`. This normalizes that expectation.

This also fixes an edge case when the very first request made with `navigateTo` pointed to the root path with a hash. The system tricks the browser into loading a blank page at `/` so that you can set cookies on the proper domain before loading your real first page. When the browser is then told to navigate to `/#something`, it did so in-browser without making a request, leaving the current page as the blank page. This changes that initial page load to a route not likely to exist in apps that consumer testium.