Switch all cases of window.location over to RB.navigateTo.
Review Request #12736 — Created Nov. 22, 2022 and submitted — Latest diff uploaded
The new
navigateTo
method allows us to spy on things that would cause
the page to reload or navigate away during the test suite. We have a
couple cases of similar methods that were just part of other objects,
and a bunch of cases where we were assigning directly to
window.location
. This change switches everything over to the new one.
Ran js-tests.