Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								dd77cd74d1 
								
							
								 
							
						 
						
							
							
								
								Add text prefix to test event content  
							
							 
							
							
							
						 
						
							2016-08-25 15:13:28 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								6bcf9cc9db 
								
							
								 
							
						 
						
							
							
								
								TimelinePanel-test: Hackery to make it pass  
							
							 
							
							
							
						 
						
							2016-08-24 17:30:53 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								cdd2902b01 
								
							
								 
							
						 
						
							
							
								
								Update annoying TimelinePanel test  
							
							 
							
							... 
							
							
							
							* Actually test what we were supposed to be testing (viz, that we can paginate
  back down after we hit the top of the room)
* Make the cap on the number of events we show in the timeline a configurable
  property, so that we can set it in the test
* Use a smaller cap in the test, so that we have to do less paginating to hit
  the cap, to make the test run quicker.
* add some more logging so that we can see how far it's got if it gets stuck. 
							
						 
						
							2016-08-24 16:28:00 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								70c0290aec 
								
							
								 
							
						 
						
							
							
								
								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. 
							
						 
						
							2016-08-23 14:39:44 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								8a57881618 
								
							
								 
							
						 
						
							
							
								
								Add more logging to TimelinePanel-test  
							
							 
							
							... 
							
							
							
							In an attempt to figure out why this is timing out sometimes, add even more
debugging. 
							
						 
						
							2016-08-03 15:24:56 +01:00  
						
					 
				
					
						
							
							
								 
								David Baker
							
						 
						
							 
							
							
							
								
							
								a5272542ef 
								
							
								 
							
						 
						
							
							
								
								Lengthen timelinepanel test timeout again  
							
							 
							
							... 
							
							
							
							It's now hitting this timeout on the jenkins box instead of the browser disconnect timeout 
							
						 
						
							2016-07-14 10:40:12 +01:00  
						
					 
				
					
						
							
							
								 
								Kegsay
							
						 
						
							 
							
							
							
								
							
								20210e7104 
								
							
								 
							
						 
						
							
							
								
								Log scrollTop and scrollHeight to try to debug flakey test  
							
							 
							
							... 
							
							
							
							Sometimes it fails because awaitScroll() on :277 isn't resolving because onScroll isn't firing. We need to know if this is because we aren't changing scrollTop 
							
						 
						
							2016-07-14 10:38:24 +01:00  
						
					 
				
					
						
							
							
								 
								David Baker
							
						 
						
							 
							
							
							
								
							
								a2b64798f7 
								
							
								 
							
						 
						
							
							
								
								Fix timelinepanel test timeout  
							
							 
							
							... 
							
							
							
							The previous fix was adjusting the wrong timeout: it's hitting browserNoActivityTimeout, so revert previous fix & do this instead 
							
						 
						
							2016-07-05 14:35:34 +01:00  
						
					 
				
					
						
							
							
								 
								David Baker
							
						 
						
							 
							
							
							
								
							
								1c280badde 
								
							
								 
							
						 
						
							
							
								
								Increase timeout on TimelinePanel test  
							
							 
							
							... 
							
							
							
							Since it looks like this timeout sometimes isn't sufficient to scroll all the way up when jenkins is very busy 
							
						 
						
							2016-06-23 18:36:44 +01:00  
						
					 
				
					
						
							
							
								 
								David Baker
							
						 
						
							 
							
							
							
								
							
								dc50a0f24a 
								
							
								 
							
						 
						
							
							
								
								Add logging to TimelinePanel test  
							
							 
							
							... 
							
							
							
							to see where it fails on jenkins 
							
						 
						
							2016-06-23 16:20:40 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								30f273c611 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #283  from matrix-org/rav/issue_1427  
							
							 
							
							... 
							
							
							
							Fix bug which stopped us scrolling down after we scrolled up 
							
						 
						
							2016-04-21 14:26:42 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								f551317b5d 
								
							
								 
							
						 
						
							
							
								
								Unmount TimelinePanel when test completes  
							
							 
							
							... 
							
							
							
							... mostly because it seems like a nice idea. 
							
						 
						
							2016-04-21 14:23:41 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								2f435f4836 
								
							
								 
							
						 
						
							
							
								
								Fix bug which stopped us scrolling down after we scrolled up  
							
							 
							
							... 
							
							
							
							Make sure that, if we scroll up enough to move the timelinewindow away from the
end of the timeline, we reset the canForwardPaginate flag. 
							
						 
						
							2016-04-21 14:20:12 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								dcd81da856 
								
							
								 
							
						 
						
							
							
								
								Fix test failures introduced by last PR  
							
							 
							
							
							
						 
						
							2016-04-19 21:10:23 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								e051d1528c 
								
							
								 
							
						 
						
							
							
								
								Remember to load new timeline events  
							
							 
							
							... 
							
							
							
							Fixes a bug where we wouldn't load new timeline events if they arrived when we
were scrolled up (https://github.com/vector-im/vector-web/issues/1367 ) 
							
						 
						
							2016-04-11 14:05:04 +01:00  
						
					 
				
					
						
							
							
								 
								Richard van der Hoff
							
						 
						
							 
							
							
							
								
							
								15d0df5d3b 
								
							
								 
							
						 
						
							
							
								
								Stop trying to paginate after we get a failure  
							
							 
							
							... 
							
							
							
							Once TimelineWindow.paginate fails to return any results, set
can*Paginate=false, and use it as a flag to stop us trying to paginate any
further. 
							
						 
						
							2016-04-08 15:05:15 +01:00