Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure the test runs before the test suite has moved on

  • Loading branch information...
commit c7b8e25c5982570ad0a9774e5ef8a007f175b7a2 1 parent 047e1dd
John Bender johnbender authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 tests/unit/navigation/navigation_core.js
7 tests/unit/navigation/navigation_core.js
View
@@ -465,7 +465,7 @@
}]);
});
- asyncTest( "opening a dialog, closing it, moving forward, and opening it again, does not result in a dialog that needs to be closed twice ", function() {
+ asyncTest( "opening a dialog, closing it, moving forward, and opening it again, does not result in a dialog that needs to be closed twice", function() {
$.testHelper.pageSequence([
// setup
function(){ $.testHelper.openPage("#dialog-double-hash-test"); },
@@ -491,9 +491,10 @@
function() {
setTimeout( function() {
same($("#dialog-double-hash-test")[0], $.mobile.activePage[0], "should be back to the test page");
+ start();
}, 300);
- start();
- }]);
+ }
+ ]);
});
asyncTest( "going back from a dialog triggered from a dialog should result in the first dialog ", function(){
Please sign in to comment.
Something went wrong with that request. Please try again.