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 scrollToppull/21833/head
parent
ec70a08b93
commit
20210e7104
|
@ -271,6 +271,8 @@ describe('TimelinePanel', function() {
|
|||
|
||||
// we should now be able to scroll down, and paginate in the other
|
||||
// direction.
|
||||
console.log("scrollingDiv.scrollTop is " + scrollingDiv.scrollTop);
|
||||
console.log("Going to set it to " + scrollingDiv.scrollHeight);
|
||||
scrollingDiv.scrollTop = scrollingDiv.scrollHeight;
|
||||
return awaitScroll();
|
||||
}).then(() => {
|
||||
|
|
Loading…
Reference in New Issue