From bf295d42d7bf7c17e9a48a12b988b101c20b3596 Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 20 Jul 2020 00:09:33 +0100 Subject: [PATCH] tests: fix follow test to work on larger screens (#4182) --- tests/frontend/specs/timeslider_follow.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/frontend/specs/timeslider_follow.js b/tests/frontend/specs/timeslider_follow.js index 9f460934d..258abc3ec 100644 --- a/tests/frontend/specs/timeslider_follow.js +++ b/tests/frontend/specs/timeslider_follow.js @@ -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); }