         expect(tableElement.getLastVisibleRow()).toEqual(13)
 
     it 'translates the content by the amount of scroll', ->
-      expect(tableElement.body.scrollTop).toEqual(100)
+      expect(tableElement.getRowsContainer().scrollTop).toEqual(100)
 
     it 'does not render new rows', ->
       rows = tableShadowRoot.querySelectorAll('.table-edit-row')

      mousedown(startCell)
      mousemove(endCell)

      expect(tableElement.body.scrollTop).toBeLessThan(300)

  describe 'when the columns widths have been changed', ->
    beforeEach ->

          mousedown(handle)
          mouseup(handle, x, y + 50)

          expect(tableElement.getRowHeightAt(2)).toEqual(70)

        it 'displays a ruler when the drag have begun', ->
          ruler = tableShadowRoot.querySelector('.row-resize-ruler')
