Permalink
Browse files

[sequence tests] Adding comment about non-independence of sequence tests

  • Loading branch information...
1 parent 2493c09 commit 024bcd4050bbe0c696191676bc88c9c621d92afe @gabrielschulhof gabrielschulhof committed Sep 28, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 tests/unit/navigation/sequence-tests/sequence_tests.js
@@ -1,5 +1,13 @@
(function($) {
+ // The following tests are not independent of each other. Thus, if you find
+ // that one of them fails, and it causes the failure of the rest of the tests,
+ // but that, if you change the order of the tests, it passes, then you should
+ // copy the tests over so that both orders are tested here.
+ //
+ // The more we click around the test pages and the more combinations of paths
+ // we try, the better.
+
$.testHelper.setPushState();
asyncTest( "Returning from a dialog results in the page from which it opened", function() {

0 comments on commit 024bcd4

Please sign in to comment.