mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
works in all 3 major browsers
This commit is contained in:
parent
52afe86377
commit
8c0fb090eb
1 changed files with 3 additions and 2 deletions
|
@ -98,7 +98,6 @@ describe("timeslider", function(){
|
|||
}, 6000);
|
||||
}, revs*timePerRev);
|
||||
});
|
||||
|
||||
// This test is bad because it expects char length to be static
|
||||
// A much better way would be get the charCount before sending new chars
|
||||
it("jumps to a revision given in the url", function(done) {
|
||||
|
@ -117,7 +116,9 @@ describe("timeslider", function(){
|
|||
timeslider$ = $('#iframe-container iframe')[0].contentWindow.$;
|
||||
}catch(e){
|
||||
}
|
||||
if(timeslider$){
|
||||
return timeslider$('#padcontent').text().length == 230;
|
||||
}
|
||||
}, 6000).always(function(){
|
||||
expect( timeslider$('#padcontent').text().length ).to.eql( 230 );
|
||||
done();
|
||||
|
|
Loading…
Reference in a new issue