mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-11-22 02:51:23 +01:00
tests: fix follow test to work on larger screens (#4182)
This commit is contained in:
parent
2a28ff8526
commit
bf295d42d7
@ -11,13 +11,16 @@ describe("timeslider", function(){
|
||||
|
||||
// make some changes to produce 100 revisions
|
||||
var timePerRev = 900
|
||||
, revs = 5;
|
||||
, revs = 10;
|
||||
this.timeout(revs*timePerRev+10000);
|
||||
for(var i=0; i < revs; i++) {
|
||||
setTimeout(function() {
|
||||
// enter 'a' in the first text element
|
||||
inner$("div").last().sendkeys('a\n');
|
||||
inner$("div").last().sendkeys('{enter}');
|
||||
inner$("div").last().sendkeys('{enter}');
|
||||
inner$("div").last().sendkeys('{enter}');
|
||||
inner$("div").last().sendkeys('{enter}');
|
||||
}, timePerRev*i);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user