fixed navigation base tests to handle the relative internal page issue by using the click hack, per @jblas

This commit is contained in:
John Bender 2011-08-15 12:45:56 -07:00
parent b0c20e9d2a
commit 907cf655b3

View file

@ -21,7 +21,7 @@
$.testHelper.pageSequence([
function(){
// Navigate from default internal page to another internal page.
$.testHelper.openPage("#internal-page-2");
$.testHelper.openPage("#internal-page-2");
},
function(){
@ -93,8 +93,8 @@
// Verify that we are on the expected page.
same(location.hash, "#" + contentDir + "content-page-2.html", "call changePage() with a relative path should resolve relative to current page");
// Try calling changePage() with an id
$.mobile.changePage("#internal-page-2");
// test that an internal page works
$("a.ip2").click();
},
function(){