Skip to content
This repository
Browse code

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 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. +4 3 tests/unit/navigation/navigation_core.js
7 tests/unit/navigation/navigation_core.js
@@ -465,7 +465,7 @@
465 465 }]);
466 466 });
467 467
468   - 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() {
  468 + 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() {
469 469 $.testHelper.pageSequence([
470 470 // setup
471 471 function(){ $.testHelper.openPage("#dialog-double-hash-test"); },
@@ -491,9 +491,10 @@
491 491 function() {
492 492 setTimeout( function() {
493 493 same($("#dialog-double-hash-test")[0], $.mobile.activePage[0], "should be back to the test page");
  494 + start();
494 495 }, 300);
495   - start();
496   - }]);
  496 + }
  497 + ]);
497 498 });
498 499
499 500 asyncTest( "going back from a dialog triggered from a dialog should result in the first dialog ", function(){

0 comments on commit c7b8e25

Please sign in to comment.
Something went wrong with that request. Please try again.