Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 8a6ed1d

Browse files
author
Luke Barnard
committed
Do not assume unpagination will occur during scroll test
1 parent 42fc7b1 commit 8a6ed1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/components/structures/TimelinePanel-test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,9 @@ describe('TimelinePanel', function() {
341341
var events = scryEventTiles(panel);
342342
expect(events[0].props.mxEvent).toBe(timeline.getEvents()[0]);
343343

344-
// Expect to be able to paginate forwards, having unpaginated a few events
345-
expect(panel.state.canForwardPaginate).toBe(true);
344+
// At this point, we make no assumption that unpagination has happened. This doesn't
345+
// mean that we shouldn't be able to scroll all the way down to the bottom to see the
346+
// most recent event in the timeline.
346347

347348
// scroll all the way to the bottom
348349
return scrollDown();

0 commit comments

Comments
 (0)