From 70c0290aece2eced622effe72c1a7e2a256df604 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 23 Aug 2016 14:39:44 +0100 Subject: [PATCH] Fix TimelinePanel test https://github.com/matrix-org/matrix-react-sdk/pull/422 made events take up less vertical space, so we now need more of them to allow us to scroll back. --- test/components/structures/TimelinePanel-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/structures/TimelinePanel-test.js b/test/components/structures/TimelinePanel-test.js index 7a603d138f..6acda0e6ac 100644 --- a/test/components/structures/TimelinePanel-test.js +++ b/test/components/structures/TimelinePanel-test.js @@ -87,7 +87,7 @@ describe('TimelinePanel', function() { // this is https://github.com/vector-im/vector-web/issues/1367 // enough events to allow us to scroll back - var N_EVENTS = 20; + var N_EVENTS = 30; for (var i = 0; i < N_EVENTS; i++) { timeline.addEvent(mkMessage()); }