Permalink
Browse files

made advancing-while-playing test more lenient

  • Loading branch information...
1 parent f9a8eaa commit 3570bfbae87bb81c340482c95552776f3bfb826f @jeremybanks jeremybanks committed Jun 4, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/index.html
View
6 test/index.html
@@ -233,7 +233,7 @@
}
} );
- atest( "Playing advances > 2.75 seconds in 3 seconds.", function( toCleanUp ) {
+ atest( "Playing advances 7 seconds within 10 seconds.", function( toCleanUp ) {
var frame = getFramedWindow( "../template.html", toCleanUp );
return function pollReady() {
@@ -247,9 +247,9 @@
return function pollAdvancement() {
var delta =(new Date - start);
- return ( delta > 3000 )
+ return ( delta > 10000 )
? false
- :( frame.popcorn.currentTime() >= 2.75 )
+ :( frame.popcorn.currentTime() >= 7 )
? true
: pollAdvancement;
};

0 comments on commit 3570bfb

Please sign in to comment.