jQuery Annex Navigation Package Testcase Scenario

$.redirect

Should open google.com with get-parameters and a hash in a new window, repeated clicks should target the same window Should open this URL with a get and several post-params (may fail due to request method, but post data should be visible in network) Should only change the current hash, without loading anything

$.changeUrlSilently

Should replace the current URL without reload, not changing history Should replace the current URL without reload, back navigation being the old URL

$.onHistoryChange

Using the second link from $.changeUrlSilently and hitting browser back should result in console output with state information about the state being left and the state being switched to.

$.reload

Should reload the current URL Should reload the current URL quickly from cache

$.openWindow

Should open a new window with empty site Should open a new window with google.com with window options as popup

$.openTab

Should open google.com with get-parameters and a hash in a new tab